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

Render Unity UI on top of WebView #888

Closed
kravczyk opened this issue Mar 7, 2023 · 4 comments
Closed

Render Unity UI on top of WebView #888

kravczyk opened this issue Mar 7, 2023 · 4 comments

Comments

@kravczyk
Copy link

kravczyk commented Mar 7, 2023

Hi,

This plugin is an amazing work but I have one problem. I try to show my Unity UI buttons over native WebView by enabling the option "Render over native UI" and they show, for sure, but I cannot interact with them. The webview is stretched to the whole screen (margin 0, 0, 0, 0) so am I right that it still intercepts clicks events on the whole screen despite the UI being visible? Is there a way to solve my issue? Any help will be appreciated.

@KojiNakamaru
Copy link
Member

This topic was discussed before and there was an experimental implementation #584 . As noted in the discussion, it is difficult to support any interaction with WebView, unfortunately.

@kravczyk
Copy link
Author

kravczyk commented Mar 9, 2023

Thank you for your reply. Do you plan to update #584 with latest fixes and updates from the main branch? In my case no user interaction with WebView is required as all interaction will be handled by Unity UI. But the experimental implementation currently contains some critical bugs (like #785).

@KojiNakamaru
Copy link
Member

I updated #584 based on the latest master, so could you please check it.

@kravczyk
Copy link
Author

Everything works now. Thank you for help!

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

No branches or pull requests

2 participants