Skip to content

[InputFile] Better handling of dispose error.#3605

Merged
vnbaaij merged 3 commits intomicrosoft:devfrom
StevenRasmussen:file-input-javascript-issue
Apr 1, 2025
Merged

[InputFile] Better handling of dispose error.#3605
vnbaaij merged 3 commits intomicrosoft:devfrom
StevenRasmussen:file-input-javascript-issue

Conversation

@StevenRasmussen
Copy link
Copy Markdown
Contributor

Pull Request

📖 Description

The following error occurs when refreshing a page that has a FluentInputFile control:

image

We can't really do much about it other than swallow the error. See here: https://stackoverflow.com/questions/72488563/blazor-server-side-application-throwing-system-invalidoperationexception-javas

✅ Checklist

General

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

Component-specific

  • I have added a new component
  • I have added Unit Tests for my new component
  • I have modified an existing component
  • I have validated the Unit Tests for an existing component

@vnbaaij vnbaaij changed the title Swallow the JSDisconnectedException when trying to call the 'dispose' Javascript method. [InputFile] Better handling of dispose error. Apr 1, 2025
@vnbaaij vnbaaij enabled auto-merge (squash) April 1, 2025 17:09
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.

3 participants