javascript - How to cancel a drop? - Stack Overflow

admin2025-04-18  4

Is there a way to "cancel" a change of layout due to an item being dragged to a different location, when using "react-grid-layout"?

I need to do some "validation" and if failed, I want to revert the layout back to original.

转载请注明原文地址:http://anycun.com/QandA/1744943304a89820.html