lawnstarter / react-native-picker-select

🔽 A Picker component for React Native which emulates the native <select> interfaces for iOS and Android
https://npmjs.com/package/react-native-picker-select
MIT License
1.76k stars 499 forks source link

Style viewContainer is not working on Android #389

Closed alimoli closed 3 years ago

alimoli commented 3 years ago

Describe the bug
While viewContainer for iOS is effective, on Android no changes.

To Reproduce
Steps to reproduce the behavior:

  1. Set a style with viewContainer
  2. Check the differences on the two platforms (iOS and Android)

Expected behavior
Same viewContainer style for both platforms, not only iOS.

Screenshots
n/a

Additional details

Reproduction and/or code sample
n/a

lfkwtz commented 3 years ago

Reproduction and/or code sample is not optional

seaerchin commented 3 years ago

hey, @lfkwtz i just encountered this and the problem was with the viewContainer not being spread across the component for renderAndroidHeadless; i'll submit a minor bugfix for this but let me know if you require a new issue or putting it here would be ok