useSortablehook within it.
rectSortingStrategy: This is the default value, and is suitable for most use cases. This strategy does not support virtualized lists.
verticalListSortingStrategy: This strategy is optimized for vertical lists, and supports virtualized lists.
horizontalListSortingStrategy: This strategy is optimized for horizontal lists, and supports virtualized lists.
rectSwappingStrategy: Use this strategy to achieve swappable functionality.
SortableContextcomponent also optionally accepts an
idprop. If an
idis not provided, one will be auto-generated for you. The
idprop is for advanced use cases. If you're building custom sensors, you'll have access to each sortable element's
dataprop, which will contain the
containerIdassociated to that sortable context.
SortableContextproviders within the same parent
SortableContextproviders within other
SortableContextproviders, either all under the same
DndContextprovider or each with their own individual
DndContextproviders if you would like to configure them with different options: