-
Notifications
You must be signed in to change notification settings - Fork 76
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
Support RTL accessibility gestures #1663
Support RTL accessibility gestures #1663
Conversation
# Conflicts: # compose/ui/ui/src/uikitMain/kotlin/androidx/compose/ui/platform/Accessibility.uikit.kt
UIAccessibilityScrollDirectionDown | ||
} | ||
|
||
UIAccessibilityScrollDirectionRight -> if (isRTL) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a bit unclear from the context, but should for some reason both axisRange?.reverseScrolling
and isRTL
influence the result?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, fixed
0f | ||
) | ||
} | ||
} | ||
|
||
private fun scrollByIfPossible(dx: Float, dy: Float) { | ||
private fun scrollByIfPossible(dx: Float, dy: Float): Boolean { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need a Boolean
added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch. Removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No blockers, two unclear spots
Fixes https://youtrack.jetbrains.com/issue/CMP-6875/Support-RTL-in-Accessibility
Release Notes
Features - iOS