CaioQuirinoMedeiros / react-native-currency-input

A simple currency input component for both iOS and Android
https://www.npmjs.com/package/react-native-currency-input
MIT License
158 stars 25 forks source link

Issue with text wrapping in FakeCurrencyInput #34

Open JoshMBBI opened 8 months ago

JoshMBBI commented 8 months ago

There does not seem to be a way to disable text wrapping when using the FakeCurrencyInput. Multiline={false} and numberOfLines={1} both have no impact. image

<FakeCurrencyInput value={amount} onChangeValue={e => handleAmountChange(e)} prefix="$" delimiter="," precision={2} separator="." minValue={0} maxValue={null} style={{fontsize: 45}} multiline={false} numberOfLines={1} />