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

fix: indicators in RTL #452

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix: indicators in RTL #452

wants to merge 1 commit into from

Conversation

Shizerq
Copy link

@Shizerq Shizerq commented Oct 28, 2024

Xs returned by onLayout in RTL are calculated from the left side, not the right side. I've reversed the array where it was necessary, and used left/right: 0 with width, to translate the indicator position correctly in both LTR and RTL.

Fixes:
#338

Before/after

Screen.Recording.2024-10-28.at.5.05.40.PM.mov
Screen.Recording.2024-10-28.at.5.05.12.PM.mov

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