maui icon indicating copy to clipboard operation
maui copied to clipboard

Freezing App when Navigating Between Tabs with BlazorWebView in Maui Blazor App

Open alzubitariq opened this issue 1 year ago • 3 comments
trafficstars

Description

Two Tabs: an AppShell page that contains two tabs named "page1" and "page2". These tabs likely represent different sections or functionalities within the app.

Navigation from Page1 to Another Page: When navigate from "page1" to another page, presumably using some kind of navigation mechanism like a button click or a navigation service.

BlazorWebView Content: The page you navigate to from "page1" contains a BlazorWebView component.

Tab Switching: After navigating to the page containing the BlazorWebView, you switch tabs from "page1" back to "page2" and then "page2" back to "page1".

App Freeze: At this point, when you switch back to "page1" after previously navigating away from it, the app freezes. This means that the app becomes unresponsive and does not react to user input or continue executing code.

Steps to Reproduce

Create new maui blazor app

Link to public reproduction project repository

https://github.com/alzubitariq/MauiBlazorNavigationIssue

Version with bug

8.0.21 SR4.1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android, I was not able test on other platforms

Affected platform versions

Android

Did you find any workaround?

No

Relevant log output

[RtgSched] resetRtgSchedHandle failed enable:1
[OnBackInvokedCallback] OnBackInvokedCallback is not enabled for the application.
[OnBackInvokedCallback] Set 'android:enableOnBackInvokedCallback="true"' in the application manifest.

alzubitariq avatar May 11 '24 14:05 alzubitariq

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!

Open similar issues:

Closed similar issues:

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

github-actions[bot] avatar May 11 '24 14:05 github-actions[bot]

@Eilon Could you please take a look

alzubitariq avatar May 12 '24 14:05 alzubitariq

Verified this issue with Visual Studio 17.10 Preview 7.0 (8.0.21). Can repro on android platform with sample project.

Zhanglirong-Winnie avatar May 13 '24 03:05 Zhanglirong-Winnie

Duplicate of the root cause of #20678.

Eilon avatar May 15 '24 23:05 Eilon