react-native-paper
react-native-paper copied to clipboard
Using "padding" prop in TextInput gives an error
react-native: 0.61.2 react-native-paper: 2.16.0
When I am using "padding" prop in TextInput, my app gives me an error as "Error in updating property 'padding' in shadow node of type: AndroidTextInput"

Code
<TextInput
label='Email'
value={''}
style={{ backgroundColor: 'transparent' }}
dense
padding={'none'}
/>
Hi,
looks like [email protected] doesn't support padding prop.
You can use latest version of module. Simply run:
yarn add react-native-paper@beta
and pick version 3.0.0-alpha.5
I tested it on my device and it works :)
@venits Yes, you're right. However there is a PR that removes that prop and we are likely gonna merge it. https://github.com/callstack/react-native-paper/pull/1394