In the file: react-responsive-modal/src/index.tsx, the animationEnd handler doesn't pass original event object to the callback. What I want to solve by this is to check what caused the event and dismiss in case of wrong call. I have an issue on my website that if some animation happens inside the modal, then modal triggers this event so wrong logic is triggered. Thank you :)
Bug report
Describe the bug
In the file:
react-responsive-modal/src/index.tsx
, the animationEnd handler doesn't pass original event object to the callback. What I want to solve by this is to check what caused the event and dismiss in case of wrong call. I have an issue on my website that if some animation happens inside the modal, then modal triggers this event so wrong logic is triggered. Thank you :)To Reproduce
Add any finite animation inside modal. You will see that the animationEnd is triggered and no event argument is available.
Expected behavior
Original event object is passed to the callback.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
Add any other context about the problem here.