react-native-picker / picker

Picker is a cross-platform UI component for selecting an item from a list of options.
MIT License
1.49k stars 280 forks source link

Input container style #414

Open raufpratama opened 2 years ago

raufpratama commented 2 years ago

libs:

device: API 28 Android 9.0 (Google APIs)

problem: i was creating custom inputs style, and comes to type=select (picker), i have problem in styling the picker input, seems like the picker have a default padding makes it wider than my custom input, i want to override it by passing padding to style props but the Picker style does not changed, is there any alternatives on this?

Screen Shot 2022-05-20 at 21 19 29

Deryan98 commented 1 year ago

I added this to inputStyle: paddingVertical: Platform.OS === 'ios' ?7 : 5,