Skip to content

Conversation

yogevbd
Copy link
Collaborator

@yogevbd yogevbd commented Mar 14, 2021

Breaking change

layout.direction is no longer needed as we can use react-native's I18n to detect the direction.

Examples

Forcing the layout direction:

I18nManager.forceRTL(true);

Syncing the layout direction with the system's direction:

I18nManager.allowRTL(true);

@swabbass
Copy link
Contributor

@yogevbd awesome, we might need to mention in docs/changes that calling

I18nManager.allowRTL(true);

should be the first thing before the app starts.

@yogevbd yogevbd changed the base branch from master to v8 December 1, 2021 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants