-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pointerEvents="none" on <Canvas /> not working on android? #2551
Labels
bug
Something isn't working
Comments
This issue was reported in the past, but I can confirm that it's happening today with |
mvaivre
added a commit
to alephium/alephium-frontend
that referenced
this issue
Aug 19, 2024
Issue: pointerEvents non not working on Android cf: Shopify/react-native-skia#2551
mvaivre
added a commit
to alephium/alephium-frontend
that referenced
this issue
Aug 23, 2024
Issue: pointerEvents non not working on Android cf: Shopify/react-native-skia#2551
mvaivre
added a commit
to alephium/alephium-frontend
that referenced
this issue
Sep 3, 2024
Issue: pointerEvents non not working on Android cf: Shopify/react-native-skia#2551
mvaivre
added a commit
to alephium/alephium-frontend
that referenced
this issue
Sep 3, 2024
Issue: pointerEvents non not working on Android cf: Shopify/react-native-skia#2551
mvaivre
added a commit
to alephium/alephium-frontend
that referenced
this issue
Sep 3, 2024
Issue: pointerEvents non not working on Android cf: Shopify/react-native-skia#2551
mvaivre
added a commit
to alephium/alephium-frontend
that referenced
this issue
Sep 4, 2024
Issue: pointerEvents non not working on Android cf: Shopify/react-native-skia#2551
mvaivre
added a commit
to alephium/alephium-frontend
that referenced
this issue
Sep 4, 2024
Issue: pointerEvents non not working on Android cf: Shopify/react-native-skia#2551
mvaivre
added a commit
to alephium/alephium-frontend
that referenced
this issue
Sep 5, 2024
Issue: pointerEvents non not working on Android cf: Shopify/react-native-skia#2551
mvaivre
added a commit
to alephium/alephium-frontend
that referenced
this issue
Sep 9, 2024
Issue: pointerEvents non not working on Android cf: Shopify/react-native-skia#2551
Same, checked on |
I found solution, need to wrap Canvas in View with pointerEvents="none"
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
on Android when I have the Canvas as an overlay using StyleSheet.absoluteFill and I set the prop pointerEvents="none" then I still can not select any buttons below the Canvas overlay, as if the Canvas is still capturing the events, it works perfectly on iOS.
Version
1.2.3
Steps to reproduce
use the Canvas element as an overlay to a View with buttons using absolute positioning and then set the pointerEvents to none, the buttons would still not be pressable on Android.
Snack, code example, screenshot, or link to a repository
If I have an overlay component like so:
And I have Screen component like so:
I would not be able to select the button on Android.
The text was updated successfully, but these errors were encountered: