When we change the value in a text field and scroll without applying the value by clicking outside or pressing enter, the value is reset when the mouse hits a slider and its value is changed instead.
We need to ensure the current control doesn't loose focus while scrolling and also make sliders ignore any input in that case, to avoid unintentional changes.
Instead of accepting scroll events whenever, we should limit it so the slider has to be clicked (focused) first. That would also solve the case when a user changes a text input and then immediately tries to change a slider via the scroll wheel.
Should check for other cases where inputs may loose focus too.
When we change the value in a text field and scroll without applying the value by clicking outside or pressing enter, the value is reset when the mouse hits a slider and its value is changed instead.
We need to ensure the current control doesn't loose focus while scrolling and also make sliders ignore any input in that case, to avoid unintentional changes.
Instead of accepting scroll events whenever, we should limit it so the slider has to be clicked (focused) first. That would also solve the case when a user changes a text input and then immediately tries to change a slider via the scroll wheel.
Should check for other cases where inputs may loose focus too.