-
Notifications
You must be signed in to change notification settings - Fork 282
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
inverted
prop flips horizontal lists vertically instead of horizontally
#512
Comments
What is a real world use case for an inverted horizontal list? We actually plan on throwing an exception of the list is used this way. |
Rendering books. Books have a directionality that is independent of device locale. For example, when rendering an English book, you can render each page as an item in a horizontal list, going from left to right. If the app is in an rtl locale, the pages should still go from left to right and hence you need the More broadly, I can imagine there are many use cases where leveraging the |
For more specific context, in our app (https://tarteel.ai) we render the Quran (which is in Arabic) with mapping to the most common physical book format. We currently render using a slighltly modified version of |
That's very insightful. Thanks for letting me know. I've put up a PR to fix the issue. |
Current behavior
Setting the
inverted
prop totrue
on a horizontal list inverts the list vertically instead of horizontally.Expected behavior
The list should be inverted horizontally.
To Reproduce
Render a horizontal list of items containing text and set
inverted
to true.Platform:
Environment
1.0.4
The text was updated successfully, but these errors were encountered: