Skip to content

Conversation

@OsaedYahya
Copy link

This contains a fix for Horizontal recyclerlistview while using RTL in android devices/emulators
this was tested for each rendered item to be sequentially loaded unlike current behavior

const itemRect = this._layouts[index];
let isFound = false;
const newIndex =
I18nManager.isRTL && Platform.OS === "android"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
I18nManager.isRTL && Platform.OS === "android"
I18nManager.isRTL && Platform.OS === "android" && this._isHorizontal

To not mess up the vertical lists we need to make sure this check only applies to horizontal scrollview

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