-
Notifications
You must be signed in to change notification settings - Fork 50
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
Control Throws a Null Exception When Hosted on a ContentView #41
Comments
Does it happen with regular MAUI |
We did not try it with the regular BlazorWebView. We are in the process of looking at other solutions but this HybridWebView is the best choice due to our constrains. |
Hi @RuddySantos / @rsantos16 - I tried placing the HybridWebView inside a ContentView and that seemed to work just fine. Do you have a complete repro project that you can share for this? Or perhaps a full stack trace of the exception? I saw some places in the code that are possible culprits for a potential bug but it's hard to say without more info. |
Hi @Eilon , we face the same issue and this is the stack trace:
We use the Shell to navigate between pages and when coming back to a page with the HybridWebView component on it, it always crashes in our project. |
I am very new to this. The requirement I have calls for the webview to be hosted in a control (contentView). The HybridView shows fine and callling JS methods etc works. However, when I close the popup window that is hosting the control there is an object reference not set to an instance of an object exception on the OnHandlerChanged --> NavigationCore.
NOTE: This app uses Mopups for pushing/popping pages.
The text was updated successfully, but these errors were encountered: