dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.01k stars 1.72k forks source link

[net9.0] Blazor MAUI App hangs during back navigation because of disconnect code #24407

Open PureWeen opened 4 weeks ago

PureWeen commented 4 weeks ago

Description

With NET9.0 we now call "DisconnectHandler" by default on all components of a page when they are popped from the stack.

It looks like this code is now causing the UI to hang

image

Reproduction

github-actions[bot] commented 4 weeks ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.