Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle unconsumed wheel scroll across axis #1300

Draft
wants to merge 1 commit into
base: jb-main
Choose a base branch
from

Conversation

MatkovIvan
Copy link
Member

Proposed Changes

Just an idea for discussion: currently there is a lot of confusion about scrolling horizontally by regular mouse with a single wheel. It's not clear that the revert of the axis is bound to Shift button and I continuously see the questions like "how to scroll horizontal pager by mouse". It's even worse that we have no option to enable dragging the scroll by mouse.

This PR tries to handle unconsumed mouse wheel event in another direction.

Testing

Test: try to scroll horizontal pager by mouse wheel.
Unit tests: TBD

Issues Fixed

Fixes a whole bunch of issues: https://github.com/search?q=repo%3AJetBrains%2Fcompose-multiplatform+horizontal+mouse+scroll&type=issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant