lawnstarter / react-native-picker-select

🔽 A Picker component for React Native which emulates the native <select> interfaces for iOS and Android
https://npmjs.com/package/react-native-picker-select
MIT License
1.74k stars 497 forks source link

Disable font size value added in the accessibility configuration #461

Closed BrianCortes closed 2 years ago

BrianCortes commented 2 years ago

Is your feature request related to a problem? Please describe.
I was asking if there is a possibility to add a new feature that allow me disabled the font size value added in the accessibility configuration on my device, because currently the react-native-picker-select doesn’t have this functionality. this feature already exist in react native, the Text component has this prop allowFontScaling , I don't know if exist any possibility to it.

Example android configuration to reproduce the error:

Go to accessibility section in the settings and then select the Font size opcion. image

Example visual issue:

In this case location are using react-native-picker-select image

Describe the solution you'd like
Add a prop allowFontScaling in the component to disabled the font size value added in the accessibility configuration on my device

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional details
Add any other details or screenshots about the feature request here.

BrianCortes commented 2 years ago

I just find the feature:

textInputProps={{ allowFontScaling: false }}