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
Hi, thank you for maintaining this amazing library!
I'm using react-zoom-pan-pinch in my Next.js project, and I encountered an issue with event propagation.
I want to close the modal when the user clicks outside the image area.
I'm trying it out with alerts first.
I think I only need to prevent the event from propagating when the user clicks on the image, but it's not working.
If I comment out the TransformWrapper and TransformComponent, it works as intended.
How can I achieve this while still using the TransformWrapper and TransformComponent?
Hi, thank you for maintaining this amazing library!
I'm using
react-zoom-pan-pinch
in myNext.js
project, and I encountered an issue with event propagation.I want to close the modal when the user clicks outside the image area.
I'm trying it out with alerts first.
I think I only need to prevent the event from propagating when the user clicks on the image, but it's not working.
If I comment out the
TransformWrapper
andTransformComponent
, it works as intended.How can I achieve this while still using the
TransformWrapper
andTransformComponent
?If there is any information you are missing, please don't hesitate to let me know.
I will provide it immediately.
The text was updated successfully, but these errors were encountered: