Accessibility issue with large letters on Android

Is there a way when the React Native app opens on Android it makes the android letters go out of accessibility mode and back to normal?

Upvotes: 0

Views: 54

Answers (1)

Olaf K
Olaf K

Reputation: 187

To turn font scaling off completely:

allowFontScaling={false}

To limit font scaling, use:

maxFontSizeMultiplier={multiplierValue}

If you only want to do this on Android:

allowFontScaling={Platform.OS === 'android' && false}

This prop works on Text and TextInput components.

Upvotes: 1

Related Questions