Is there a way to stop a component from being dropped within a range of components #6326
mercymantis
started this conversation in
General
Replies: 1 comment
-
I'm open to any suggestions/alternatives. I'm thought of stopping/preventing drops but am facing other issues outlined in my other post at #6329 |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I want to disable the ability to drop a component within a range of components. Currently I've disabled droppable on a range of components which is what I want but I also want to prevent a component from to be droppped before and after these components.
For example, if I try to drop "Test Component" between Components 1, 2 and 3, it lets me. I want to only allow Test Component to be dropped after or within component 4. So when I start dragging, the drop rectal shouldn't appear between component 1,2 and 3 as possible drop locations. Is this possible?
Test Component
Component1 ( has inner components, droppable disabled )
Component2 ( has inner components, droppable disabled )
Component3 ( has inner components, droppable disabled )
Component4 ( has inner components )
Beta Was this translation helpful? Give feedback.
All reactions