Replies: 1 comment
-
I just realized that adding dummy items won't help with what I'm trying to accomplish, which is extending the bounds of the "drop zone": adding dummy items and making them immovable won't change that they're still items that occupy a position in the grid, and so dragging anything over them won't be equivalent to dragging over an empty area. Let me know if you have any thoughts on how I can essentially grow the grid area beyond the sum of its items' heights by a certain amount at the top and bottom, if such a thing is possible. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! First off, thanks for the great library! I'm wondering, is there a way to set inner padding to the grid, such that there is additional empty space (for instance) above and below the grid items? In my particular case, the grid is being used along a single axis (kanban-style), and I'm wondering how I would include some extra buffer space within the grid container element itself. I believe that there's a way to add some dummy spacer elements before and after any grid items, and then use the dragStartPredicate to exclude them from dragging, but I'm wondering if there's a simpler way, or another approach to recommend. Any advice would be very appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions