NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

Picker inside Item on android not working, running well on ios

Open yopichy opened this issue 9 years ago • 6 comments

I've issue to use Picker inside Item screen shot 2017-04-11 at 12 09 32

Running well on IOS screen shot 2017-04-11 at 12 03 04

But picker not working on Android screen shot 2017-04-11 at 12 02 58

When i moves Picker to outside Item, works on IOS and Android. Thanks.

yopichy avatar Apr 11 '17 05:04 yopichy

@yovierayz You will need to apply some width to the picker. Something like this <Picker style={{ width:(Platform.OS === 'ios') ? undefined : 120 }} > Let me know if it works

shivrajkumar avatar Apr 13 '17 12:04 shivrajkumar

It works after adding width to the picker.

dylannlaw avatar Apr 16 '17 05:04 dylannlaw

@shivrajkumar ok it's works, tq :)

yopichy avatar Apr 17 '17 08:04 yopichy

This needs to be in the docs, right?

sujayjaju avatar Feb 14 '18 01:02 sujayjaju

This should be in the docs, 100%. @shivrajkumar Would you accept a PR?

isaachinman avatar Mar 12 '18 17:03 isaachinman

I think that it would be better: ... <Picker style={{flex: 1}} ...

Note: Tested only on android

stefmabo avatar Mar 20 '18 20:03 stefmabo