Problem with "scrollToZoom" option and Inline plugin #247
-
Hi guys, I'm trying the "scrollToZoom" option on my Lightbox component, but when I use it the entire page keeps getting scrolled as well. Is there a way to disable this behavior? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
igordanchenko
Mar 10, 2024
Replies: 1 comment 5 replies
-
Do you mind providing a minimal repro? Feel free to fork the following sandbox - https://stackblitz.com/edit/yet-another-react-lightbox-sandbox?file=src%2FApp.tsx |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for the repro, this is very helpful. Indeed, propagation of wheel events needs to be cancelled in this case. I'll address this in the next patch release.