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

[ScrollViewerPresenter] Fix rtl scroll (#16667) #17714

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ijklam
Copy link
Contributor

@ijklam ijklam commented Dec 8, 2024

What does the pull request do?

Make ScrollViewerPresenter horizontal scroll more natural when FlowDirection set to RightToLeft.

Fix #16667.

What is the current behavior?

When FlowDirection set to RightToLeft, swiping from right to left will move the left-hand-side content to the right.

default.mp4

What is the updated/expected behavior with this PR?

When FlowDirection set to RightToLeft, swiping from right to left should move the right-hand-side content to the left.

default.mp4

Checklist

Fixed issues

Fix #16667.

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.3.999-cibuild0053757-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 added the bug label Dec 10, 2024
@ijklam
Copy link
Contributor Author

ijklam commented Dec 17, 2024

@maxkatz6 Any updates?

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

Successfully merging this pull request may close these issues.

ScrollContentPresenter horizontal scroll inverts when FlowDirection is RTL in MacOS trackpad
3 participants