hossein-zare / react-native-dropdown-picker

A single / multiple, categorizable, customizable, localizable and searchable item picker (drop-down) component for react native which supports both Android & iOS.
https://hossein-zare.github.io/react-native-dropdown-picker-website/
MIT License
970 stars 294 forks source link

disable font scaling ? allowFontScaling={false} #655

Open MartoMcfly opened 1 year ago

MartoMcfly commented 1 year ago

Hello I would like to disable font scaling on this component like you would with any other texInput with 'allowFontScaling={false}' or is there a way of telling the component to ignore the system font scaling settings and use the font size specified in the component's fontSize prop instead

hossein-zare commented 1 year ago

Hi,

Is this what you want?

searchTextInputProps={{
  allowFontScaling: false,
}}
augusthjerrild commented 6 months ago

I also have this problem. The suggestion by @hossein-zare does not work... This DropDownPicker is the only component that doesn't work with disable font scaling.. :-(

Curtis-iac commented 5 months ago

Oh Wow! Been practically stuck on this for days! In my case, I am trying to implement this for the list Items.

Any resolution to this please @hossein-zare ??