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
The current dropEffect example shows how to change dropEffect on the drag source based on the drag source itself (https://react-dnd.github.io/react-dnd/examples/customize/drop-effects). Is there a way to dynamically change the dropEffect based on the target? For example, I have 2 drop target boxes. If I drag an item to Box 1, it should show Add effect. If I drag an item to Box 2, it should show Copy effect.
The text was updated successfully, but these errors were encountered:
The current dropEffect example shows how to change dropEffect on the drag source based on the drag source itself (https://react-dnd.github.io/react-dnd/examples/customize/drop-effects). Is there a way to dynamically change the dropEffect based on the target? For example, I have 2 drop target boxes. If I drag an item to Box 1, it should show Add effect. If I drag an item to Box 2, it should show Copy effect.
The text was updated successfully, but these errors were encountered: