picker icon indicating copy to clipboard operation
picker copied to clipboard

Input container style

Open raufpratama opened this issue 3 years ago • 2 comments

libs:

  • @react-native-picker/picker: v2.4.1
  • react-native: v0.68.1

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

raufpratama avatar May 20 '22 14:05 raufpratama

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

Deryan98 avatar Oct 21 '22 01:10 Deryan98