ember-spin-box icon indicating copy to clipboard operation
ember-spin-box copied to clipboard

Touchpad-based spinning is too fast

Open billdami opened this issue 10 years ago • 0 comments

When using a touchpad (tested from a Macbook Pro Retina, late 2013) to interact with the spin box, the spin speed is way too fast.

This is because the touchpad fires mousewheel events much more rapidly than an actual mouse scroll wheel, and each mousewheel event results in a spin/value change.

Need a way to normalize the event's delta value, and only invoke a spin/value change if it passes a certain threshold, but while still maintaining the same behavior for actual mouse wheel scrolling.

billdami avatar Jun 02 '14 13:06 billdami