-
Notifications
You must be signed in to change notification settings - Fork 409
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
fix: Exception in FluentAnchor #1652
Comments
I also saw this with a list:
I suggest you add a utility method for disposing JSObjectReference and have it catch the two errors, then use that where ever you dispose. |
vnbaaij
added a commit
that referenced
this issue
Mar 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 Bug Report
💻 Repro or Code Sample
I left a Blazor page open for a while in the background. When I came back to it there was an error from FluentAnchor:
🤔 Expected Behavior
No error.
😯 Current Behavior
Error.
💁 Possible Solution
Error comes from here:
fluentui-blazor/src/Core/Components/Anchor/FluentAnchor.razor.cs
Lines 145 to 159 in 4237806
It appears to throw JSDisconnectedException or OperationCanceledException. Catch both?
🔦 Context
🌍 Your Environment
The text was updated successfully, but these errors were encountered: