Dialogs don't work after updating Microsoft.AspNetCore.Components.WebAssembly to 8.0.3 or 8.0.4 #8715
Replies: 3 comments 4 replies
-
Also I still get other interactivity features (i.e. ripple effect, carousel and DatePicker all works). It really just seems to affect Dialogs in this case. |
Beta Was this translation helpful? Give feedback.
-
Do you have a reproducible repository we can take a look at? |
Beta Was this translation helpful? Give feedback.
-
While trying to make a repro case for you, I found that the bug was because I trigger a dummy navigation just before popping the popup, so we can close it by navigating back.
This worked fine until 8.0.2, but I guess something changed in how navigation works with 8.0.3. Or maybe I was just lucky it even worked in the first place. I understand this was a bit hacky... Is there a best practice for closing dialogs with the back button ? Should I open a separate thread for clarity ? |
Beta Was this translation helpful? Give feedback.
-
Hi folks,
I have recently upgraded all my nuget packages including Microsoft.AspNetCore.Components.WebAssembly to their latest version and noticed my dialogs don't work any more.
I have managed to isolate the problem to that specific assembly. If I keep all my other packages to latest, but downgrade Microsoft.AspNetCore.Components.WebAssembly to 8.0.2, my dialogs work again. And if I update it to 8.0.3 or 8.0.4, they stop working.
I'm not sure how I can debug this ? There is no error in the console. And of course, if I make a new project (with all the same nuget packages) I don't have the problem :/.
Any help would be appreciated !
Beta Was this translation helpful? Give feedback.
All reactions