question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:15
  • Comments:8

github_iconTop GitHub Comments

2reactions
Yennnfulcommented, Sep 20, 2020

Is there any solution? I am facing the same issue

1reaction
eacanalgcommented, Sep 21, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The activity lifecycle | Android Developers
This is where the lifecycle components can stop any functionality that does not need to run while the component is not visible on...
Read more >
how to open particular screen on clicking on push notification ...
First, add "click_action": "FLUTTER_NOTIFICATION_CLICK", in data block in push notification payload. Second, define below callbacks in ...
Read more >
Interaction | Notifee
This opens in a new window. Quick Action buttons allow users to perform tasks quickly, and can either trigger your application to open...
Read more >
audible app not working android
Tap "Help & Support". Restart Audible App and Device Solution 3. Windows 98 users (or later) can drag and drop this Icon into...
Read more >
Use real-time text (RTT) with calls - Android Accessibility Help
Real-time text (RTT) lets you use text to communicate during a phone call. RTT works with TTY and doesn't require any additional accessories....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found