Skip to content

Fix issue #836 #839

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Fix issue #836 #839

wants to merge 3 commits into from

Conversation

Suiram1701
Copy link

@Suiram1701 Suiram1701 commented Aug 14, 2024

@gvreddy04
Copy link
Contributor

@Suiram1701 Thank you for the PR. I'll take care of this.

@gvreddy04 gvreddy04 modified the milestones: 3.0.0, 3.0.1 Aug 19, 2024
@gvreddy04 gvreddy04 modified the milestones: 3.1.0, 3.2.0 Oct 21, 2024
@gvreddy04 gvreddy04 modified the milestones: 3.2.0, 3.2.1 Nov 20, 2024
@gvreddy04 gvreddy04 modified the milestones: 3.3.0, 3.3.1, 3.4.0 Jan 28, 2025
@shargon
Copy link

shargon commented May 17, 2025

Can this be merged in the next release?

@shargon
Copy link

shargon commented Jun 20, 2025

Any update with this issue?

@Suiram1701
Copy link
Author

gvreddy04 asked for a minimal repo to reproduce the issue (what I've provided) but didn't respond yet. This issue was also mainly caused by me who didn't understand how at the time how to use async in Blazor.

@Suiram1701
Copy link
Author

Suiram1701 commented Jun 20, 2025

@shargon I've read your issue and it has the same source as mine. A Blazor renderer is attached to a specific thread and to modify a component (in this case the Toasts I think) from a different thread you have to use the dispatcher with InvokeAsync.

So try to call the toast service through InvokeAsync(() => ...). It's not very likely that this will be merged because no component does run InvokeAsync by its self.

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