React-native-picker-select: `onOpen` doesn't trigger when the user tap on the text - but does when tapping on icon (android)

Created on 18 Aug 2020  路  4Comments  路  Source: lawnstarter/react-native-picker-select


Describe the bug

onOpen doesn't trigger when the user tap on the text.

Expected behavior

onOpen should trigger when you tap anywhere inside the select area.

Screenshots

"n/a"

Additional details

  • Device: Mororola One Zoom
  • OS: Android 9 - July 1, 2020
  • react-native-picker-select version: 7.0.0
  • react-native version: 0.62.1
  • expo sdk version: n/a

Reproduction and/or code sample

https://snack.expo.io/@marioteik/brave-cashew

If you click in the arrow you can see that the log works (android emulator). The same thing doesn't happen when you click the text.


All 4 comments

Is there any solution? I am facing the same issue

Just wanted to drop that this is caused by the position:'absolute' attribute under the headlessAndroidPicker class (I'm not sure if this affect IOS). Im still trying to find a way to fix this without messing the component style.

Any update about this? I'm facing a similar issue

Facing same issue, help +1

Was this page helpful?
0 / 5 - 0 ratings