Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#15139 closed bug (fixed)

Spinner: Mousewheel events should be ignored when the input is not focused

Reported by: s0By Owned by: Scott González
Priority: minor Milestone: 1.12.2
Component: ui.spinner Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description

I know this is somewhat intentional feature and is really annoying when the page is being scrolled by a user and, when the mouse gets over the spinner input, the page stops scrolling and spinning event starts inside the input.

This must be controlled. I bet in majority cases you would want to use a mousewheel scroll only when the input is actually focused. To comply for everyone, this could be made as an option, something simillar to what was done 7 years ago here:

http://btburnett.com/spinnertest/demos/spinner/mousewheel-disabled.html

I don't like to tamper with the solution and to keep overwriting the code as the version goes higher, good options could be included by original developers.

Change History (4)

comment:1 Changed 3 months ago by Scott González

Status: newopen
Summary: Spinner: Mousewheel eventSpinner: Mousewheel events should be ignored when the input is not focused

comment:3 Changed 3 months ago by Scott González

Owner: set to Scott González
Resolution: fixed
Status: openclosed

In a3b9129:

Spinner: Ignore mousewheel events when not focused

Fixes #15139
Closes gh-1794

comment:4 Changed 3 months ago by Ryan J Ollos

Milestone: none1.12.2
Note: See TracTickets for help on using tickets.