flathub-infra / website

Monorepo with website and API
https://flathub.org
Apache License 2.0
223 stars 84 forks source link

Sideways scrolling works very badly with mouse #3862

Open forteller opened 5 days ago

forteller commented 5 days ago

Hi. Quite a few mice have a scroll wheel that also can be pushed to the side to scroll sideways. When I use such a mouse and see a sideways scrolling UI, I expect to be able to scroll trough it that way.

This works so poorly on Flathub that I would say that it doesn't work at all. Both with the featured apps slider thingy on the front page and on screenshots you have to hold the scroll wheel in position, and then it slowly moves, jaggedly. If you let go it snaps back. On the front page you seem to be able to do this as much as you like, but with the screenshots it only works once, and then even that stops working.

https://github.com/user-attachments/assets/32d71b95-2325-4a11-8114-58e11ae88ffc

Expected behavior is that you just have to click sideways on the scroll wheel once to move to the next/previous item/screenshot.

Thanks for your great work! :)

razzeee commented 1 day ago

On the front page you seem to be able to do this as much as you like, but with the screenshots it only works once, and then even that stops working.

Tracking here https://github.com/igordanchenko/yet-another-react-lightbox/issues/305