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 have a Sortable with an onMove method that returns false in some circumstances. How can I change the cursor to "not-allowed" when it returns false, so it is clear to the user that they are not allowed to drop the item there. This is what I have tried...
I can find lots of answers explaining how to change the cursor when dragging, but they are permanent CSS solutions, not dynamic according to the onMove event.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Sortable with an onMove method that returns false in some circumstances. How can I change the cursor to "not-allowed" when it returns false, so it is clear to the user that they are not allowed to drop the item there. This is what I have tried...
https://codepen.io/hobbeschild/pen/wBMoqLL
I can find lots of answers explaining how to change the cursor when dragging, but they are permanent CSS solutions, not dynamic according to the onMove event.
BetaWas this translation helpful?Give feedback.
All reactions