radix-ui / primitives

Radix Primitives is an open-source UI component library for building high-quality, accessible design systems and web apps. Maintained by @workos.
https://radix-ui.com/primitives
MIT License
14.84k stars 720 forks source link

[Select] Windows slow mouse scrolling #2519

Open SpiritAnri opened 7 months ago

SpiritAnri commented 7 months ago

Bug report

Current Behavior

I have very slow scrolling items in select. I use Windows and mouse wheel

https://github.com/radix-ui/primitives/assets/21171654/64b16187-7907-4c44-b14a-466042a321cd

Reproducible example

Its's from official site https://www.radix-ui.com/primitives/docs/components/select

[CodeSandbox Template](https://codesandbox.io/s/2r30e)

nkroe commented 7 months ago

For windows can reproduce if this checkbox is checked in the performance options: image

If you remove this checkbox, the scroll works fine

diego-aquino commented 4 months ago

Scrolling with the mouse on Linux is very slow too. Hovering over the scroll up or down buttons seems fine, though.

Reproduction on https://www.radix-ui.com/primitives/docs/components/select:

https://github.com/radix-ui/primitives/assets/58959382/d3a89355-57d1-43c5-ad49-7707c55daf0e

My setup:

AndreevAndrey commented 1 week ago

This bug stops reproducing if you disable scrolling in the browser flags (for example, Chrome or Opera). Moreover, it is reproduced when you scroll with the mouse (not with the touchpad). Please, fix this