Skip to content

Items Bounded to Container

is-bounded stops a dragged item at the grid boundary. It does not change resize limits, which still come from the item and grid settings.

Try it: Drag an item past the dashed edge with is-bounded on and off.

Live demo

Released under the MIT License.