! Bazinga
KPCKevin Powell - Community
•Created by ! Bazinga on 7/21/2024 in #front-end
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
2 replies
KPCKevin Powell - Community
•Created by ! Bazinga on 4/26/2024 in #front-end
Need help with setting "slide-out" animation to a slide-in form.
7 replies
KPCKevin Powell - Community
•Created by ! Bazinga on 4/28/2023 in #front-end
Ionicons not working with "classname" in Reactjs.
I had className in my JSX on Ionicon element but it was never read properly by browser so I changed the directive's name to class and it worked . Why is this happening? Supposing that in React we always use className instead of class.
5 replies