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(ios): Fix vertical list scroll directionin rtl #885

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

DrRefactor
Copy link
Contributor

@DrRefactor DrRefactor commented Oct 8, 2024

Summary

When in RTL, vertical pager view is scrolling backwards. This is unwanted behavior (only horizontal axis should be inverted in RTL).

Test Plan

Test LTR & RTL in legacy pager view.

What's required for testing (prerequisites)?

What are the steps to reproduce (after prerequisites)?

Compatibility

OS Implemented
iOS

Checklist

  • I have tested this on a device and a simulator
  • I added the documentation in README.md
  • I updated the typed files (TS and Flow)

@troZee
Copy link
Member

troZee commented Oct 16, 2024

@DrRefactor could you provide any documentation for the RTL, when the component is scrollable vertically?

@DrRefactor DrRefactor force-pushed the fix-rtl-vertical-scroll branch from c8c700d to 657c614 Compare October 17, 2024 05:35
@DrRefactor DrRefactor force-pushed the fix-rtl-vertical-scroll branch from 657c614 to 6dd2f87 Compare October 17, 2024 05:38
@DrRefactor DrRefactor requested a review from troZee October 17, 2024 05:38
@DrRefactor
Copy link
Contributor Author

@troZee For vertically scrolled lists, there's basically no change in layout in RTL vs LTR. The only one difference in this case is when the vertically scrolled list is a grid, then the first element should be aligned to the right edge.
See: https://developer.apple.com/design/human-interface-guidelines/right-to-left

@DrRefactor DrRefactor requested a review from troZee October 18, 2024 07:50
@MrRefactor MrRefactor merged commit c83e5c8 into callstack:master Oct 28, 2024
3 checks passed
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.

3 participants