react-native-dropdown-picker icon indicating copy to clipboard operation
react-native-dropdown-picker copied to clipboard

disable font scaling ? allowFontScaling={false}

Open MartoMcfly opened this issue 1 year ago • 3 comments

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

MartoMcfly avatar Mar 09 '23 18:03 MartoMcfly

Hi,

Is this what you want?

searchTextInputProps={{
  allowFontScaling: false,
}}

hossein-zare avatar Mar 09 '23 19:03 hossein-zare

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.. :-(

augusthjerrild avatar Dec 22 '23 14:12 augusthjerrild

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 ??

Curtis-iac avatar Jan 31 '24 01:01 Curtis-iac