You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using FlashList with numColumns greater than 1 in RTL mode, the layout is incorrectly rendered on Android. The items are misaligned and do not follow the expected grid pattern. This issue is specific to RTL mode; the layout works correctly in LTR mode.
Using the disableAutoLayout prop fixes the issue, suggesting that the auto-layout feature might not be handling RTL correctly for multi-column layouts.
Screenshots (click to expand)
Expected behavior
The FlashList should maintain proper grid alignment even in RTL mode when numColumns is greater than 1, similar to its behavior in LTR mode or when disableAutoLayout is true.
Current behavior
When using FlashList with
numColumns
greater than 1 in RTL mode, the layout is incorrectly rendered on Android. The items are misaligned and do not follow the expected grid pattern. This issue is specific to RTL mode; the layout works correctly in LTR mode.Using the
disableAutoLayout
prop fixes the issue, suggesting that the auto-layout feature might not be handling RTL correctly for multi-column layouts.Screenshots (click to expand)
Expected behavior
The FlashList should maintain proper grid alignment even in RTL mode when
numColumns
is greater than 1, similar to its behavior in LTR mode or whendisableAutoLayout
is true.To Reproduce
I've created a reproducible example here: https://github.com/SMhdAsadi/FlashListRTLIssueAndroid
Steps to reproduce:
Environment details:
Platform:
Note: Haven't tested on iOS due to environment limitations.
Environment
@shopify/flash-list: 1.7.1
Additional context
disableAutoLayout={true}
resolves the issueThe text was updated successfully, but these errors were encountered: