You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
0.1.165
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
On Android we were using regular views and viewmanagers to drive our native views. To be able to take advantage of the React Native functionality on views the Skia Views should be backed by a React View Manager which will ensure some functionality that will work out of the box.
This fixes#1197 and pointer events (use example in 1197 to test), and also allows for setting backgroundColor as style for a Canvas.
All tests and examples have been tested and works.
On Android we were using regular views and viewmanagers to drive our native views. To be able to take advantage of the React Native functionality on views the Skia Views should be backed by a React View Manager which will ensure some functionality that will work out of the box.
This fixes#1197 and pointer events (use example in 1197 to test), and also allows for setting backgroundColor as style for a Canvas.
All tests and examples have been tested and works.
Description
on Android when I have the Canvas as an overlay using
StyleSheet.absoluteFill
and I set the proppointerEvents="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
0.1.165
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: