You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really like how this plugin has evolved over time! 🎉
We recently started a large project inside our software using the plugin.
This leeds to two problems which overstrains the local machine
Hovering over an item opens it instantly (see other issue)
Our logic for dropAllowed() is rather complex and takes a couple of ms to compute. And we also have to re-check it in the drop event, even if the drop indicator is red (drop not allowed)
Is it possible to not execute the drop event if drop is not allowed? Or is this already possible?
I'm not sure if this is already the case, but when hovering over a (large) set of items the dropAllowed() is computed for each item hovered.
For 50 items on the same level I hovered to get down to the item I actually want to hover and drop the dragged item on it, the dropAllowed() check is executed 50 times.
Is this already cancelled when another item is hovered (or an item is no longer hovered)? This would save us a lot of time and computations.
The text was updated successfully, but these errors were encountered:
Version(if relevant): 5.8.x
I really like how this plugin has evolved over time! 🎉
We recently started a large project inside our software using the plugin.
This leeds to two problems which overstrains the local machine
dropAllowed()
is rather complex and takes a couple of ms to compute. And we also have to re-check it in thedrop
event, even if the drop indicator is red (drop not allowed)Is it possible to not execute the
drop
event if drop is not allowed? Or is this already possible?I'm not sure if this is already the case, but when hovering over a (large) set of items the
dropAllowed()
is computed for each item hovered.For 50 items on the same level I hovered to get down to the item I actually want to hover and drop the dragged item on it, the
dropAllowed()
check is executed 50 times.Is this already cancelled when another item is hovered (or an item is no longer hovered)? This would save us a lot of time and computations.
The text was updated successfully, but these errors were encountered: