-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Description
I'm upgrading an old app. React-native-paper was upgraded from 4.10.1 to 5.12.3.
The SearchBar worked fine in v4.10.1
Here is how I'm using it:
<Searchbar
placeholder={'search'}
onChangeText={onChange}
value={searchQuery}
style={{
height: 30,
borderColor: 'lightblue',
borderWidth: 1,
backgroundColor: 'white',
margin: 6,
}}
/>
There seems to be an internal padding added, but I'm not able to change it via padding, paddingTop or paddingVertical
Your Environment
| software | version |
|---|---|
| ios | 17.2 (simulator) |
| react-native | 0.73.3 |
| react-native-paper | 5.12.3 |
| node | 18.19 |
| npm. | 10.2.3 |
kieuhuynhdev and abhimanyuPathania