vvvmax / unitegallery

Unite Gallery - Responsive jQuery Image and Video Gallery Plugin. Aim to be the best gallery on the web on it's kind. See demo here:
http://unitegallery.net
MIT License
531 stars 158 forks source link

Disable image zoom on mouse scroll #150

Open xetreon opened 7 years ago

xetreon commented 7 years ago

there should be an option where I can disable the image zooming of the image on mouse wheel scroll. disabling the option the div should scroll normally. Please we need that option urgently..

ministe2003 commented 6 years ago

Found this setting in another question: gallery_mousewheel_role: none

h0lg commented 6 years ago

I don't quite know whether I correctly understand the issue @pallabhere4u raises, but I found it because I was looking for a way to avoid zooming into the image selected in the gallery when you mouse-scroll over the gallery. The background of this requirement of mine is that I am using the gallery in a scrolling container and the gallery capturing the mouse scroll event makes scrolling the container hard to impossible.

The option gallery_mousewheel_role: "none" suggested by @ministe2003 solves my issue, anyway. Thanks for pointing it out! I was dreading another deep dig for an undocumented setting through the extensive source of this otherwise immensely useful gallery.