Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Disabling mouse wheel for Sliders?

Daniel Pöchacker
6 years ago Dec 02, 2015 1:43pm

Hi,

I have created a layout with a lot of Slider elements allowing the user to adjust a bunch of values. Now whenever the user scrolls down the page using the mouse wheel and the mouse pointer touches any of the Sliders it gets caught there and instead of scrolling the page the slider is adjusted. So whenever the page is strolled you have to be careful to not touch the sliders in order to not get stuck and accidentally change a value.

Is there a way to disable the sliders from reacting to the mouse wheel to prevent this from happening?

I'm running version 7.5.5