While working on a sidebar panel of an application, I have encountered a unique problem. A user needs to create steps (think in terms of creating an online course via a builder). One can add as many steps as they like. Each of these steps has tons of fields within it. I thought of creating a collapsible card with move functionality. Because a user might feel the need to change the order of the steps. Is this technically correct? Should the drag/move icon come outside the card?
You can certainly dedicate areas within a large drag-and-drop surface to do specific things, such as expanding a panel. This can be helped with a visual indicator on hover/ mouse-over:
However, as I've shown above, you might have to think about the panel behaviour once it is expanded. Some designers choose to isolate interactions until done (for example, using a modal), and then hand control back to the drag-and-drop functionality.