-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
A user of our library, Blazorise (components for Blazor) reported that when using MAUI + Blazor, by navigating away it causes an unexpected exception on our JS disposal process.
While the exception is explanatory. The same code execution does not throw the same Exception Type as it does on regular Blazor.
On regular Blazor, this is thrown as a JSDisconnectedException
(which we have handled accordingly), here we have it thrown as a regular JSException
Screenshot shows both Blazor vs MAUI.
Expected Behavior
Expected that the exception thrown is the same as in regular Blazor, JSDisconnectedException
Steps To Reproduce
User that reported the issue shared a minimalistic repo:
https://github.com/realLiangshiwei/MAUIBlazorWithBlazorise
Exceptions (if any)
.NET Version
No response
Anything else?
User reported issue on our side:
Megabit/Blazorise#4287