react-native-modal-dropdown
react-native-modal-dropdown copied to clipboard
Add optionalProps for <Text> for allowFontScaling={false}
On Android, fonts are automatically adjusted, to prevent this you can add allowFontScaling={false} props for <Text>. Current implementation does not include a way to inject such props in Text, adding dropdownTextProps in props would be nice.
const row = !renderRow ?
(<Text style={[
styles.rowText,
dropdownTextStyle,
highlighted && styles.highlightedRowText,
highlighted && dropdownTextHighlightStyle
]}
{...dropdownTextProps}
>
{rowData}
</Text>) :
Hi @lc3t35, can you please create this issue in the up-to-date fork of this package here: https://github.com/siemiatj/react-native-modal-dropdown/issues?