4 ms·
Doesn't work in Safari and Firefox. The end result = the initial result. And I would get rid of the mouse events in favor of pointer events.
by Bengalilol 1y ago
Doesn't work in Safari and Firefox.
The end result = the initial result.
And I would get rid of the mouse events in favor of pointer events.
- jakelazaroff 1y agoBut crucially, it does work - it just looks like a normal select, rather than a fancy scroller.
- ethan_smith 1y agoPointer events are definitely the way to go here as they unify touch, pen and mouse inputs while also providing pressure/tilt data and better handling of edge cases like when fingers leave the active area during a gesture.