Drag and Drop API flickering issue

Hey, I'm, facing flickering issues with drag and drop API, I've realized onDragleave also triggers when drop-area's onDrag event enters or leave its children too which is causing the problem. I also can't set pointer-events: none as I've some handlers in children components. Two things which are causing flickering: -> When a image is uploaded or dropped it causes re-render due to useState. -> When dragLeave & dragEnter https://codesandbox.io/p/sandbox/dawn-star-73dt8g
1 Reply
! Bazinga
! Bazinga3mo ago
I've also added a video showing the flicker issue but it is hiding the explorer, sorry for that.
Want results from more Discord servers?
Add your server