Skip to content

Conversation

@msynowski
Copy link

@msynowski msynowski 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