Added the ability to pass an element reference to SortableList to be used as a temporary container for dragged elements instead of using body.
When using CSS or SASS is very common to define component styles as children of some container, so when the dragged component gets moved to body all the styles get disabled.
Added the ability to pass an element reference to
SortableList
to be used as a temporary container for dragged elements instead of usingbody
.When using CSS or SASS is very common to define component styles as children of some container, so when the dragged component gets moved to
body
all the styles get disabled.This way the holder element for the dragged components can be located inside the same parent component as
SortableList
and keep all styles intact.