-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
FlatList inverted prop ordering of elements causes copy/paste issues #30383
Comments
#30373 Linking in this other issue which is another symptom of how the inversion is carried out. |
FYI a fix for this was submitted to React Native for Web by @azimgd ...and it looks like it should work for React Native once this associated bug is also fixed. |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Description
When the
inverted
prop is applied toFlatList
the elements remain in the order given and are reversed via styling rather than by reversing the order in which they are rendered. This makes it so that, for example, ifreact-native-web
is used, when the list elements are copied, they end up pasting in reverse order.React Native version:
0.63.3
Steps To Reproduce
FlatList
inverted
propExpected Results
I would expect that when pasted the list would retain the order that is shown on the screen.
Snack, code example, screenshot, or link to a repository:
https://codesandbox.io/s/cold-wave-grzpj?file=/src/App.js
The text was updated successfully, but these errors were encountered: