Skip to content

Toast top action navigates to home page #2113

Answered by vnbaaij
Brokemia asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, I got the solution running.

The issue is caused by interactivity not being fully available in the app on the toast page, even though you've specified a rendermode on the page itself. If you change line 31 in App.razor to <Routes @rendermode=InteractiveServer /> It starts working like it should.

So my conclusion would be toast/SSR do not play nice together. Just adding the rendermode to the provider is not enough

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@Brokemia
Comment options

@vnbaaij
Comment options

@Brokemia
Comment options

@vnbaaij
Comment options

Answer selected by Brokemia
@oneolddev
Comment options

@Brokemia
Comment options

@Brokemia
Comment options

@vnbaaij
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants