Closed ndabAP closed 6 years ago
Currently, you can drag an element outside of a container. It would be nice to limit the allowed movement to the parent container.
How would you limit the grid ?
max column count
maxColcount = Math.floor(parentSize / gridWidth)
Currently, you can drag an element outside of a container. It would be nice to limit the allowed movement to the parent container.