Skip to content
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

#1197: Changed Views to be driven by ReactViewManager #1208

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

chrfalch
Copy link
Contributor

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.
@chrfalch chrfalch changed the title Changed Views to be driven by ReactViewManager #1197: Changed Views to be driven by ReactViewManager Dec 15, 2022
@wcandillon
Copy link
Contributor

awesome 🙌🏻

@wcandillon wcandillon merged commit 6ab3705 into main Dec 15, 2022
@wcandillon wcandillon deleted the fix/1197-pointerevents-on-android-not-working branch January 25, 2023 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pointerEvents="none" on <Canvas /> not working on android?
2 participants