-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Shell Tab is still visible after set Tab.IsVisible to false #8788
Comments
On Windows and iOS seems to work fine, but on Android i can reproduce the crash. |
@rmarinho It doesn't work fine on Windows.
|
After encountering the same issue, I ran a series of tests and found that the problem only occurs when the "IsVisible" property is bound to the first tab. |
Verified this on Visual Studio Enterprise 17.7.0 Preview 1.0. This issue can be reproduced on Windows 11 and Android 13.0 with below project: Windows11: App crash after clicking 'Tap me to reproduce bug on windows' on flyout. Android: App crash after clicking 'Tap me to reproduce bug on android' on flyout -> Tap 3. |
Any update on this? I appear to be having a similar issue, however it's android crashing and not windows |
any update on this? im having the same issue. Simple navigation issue shouldnt take this long to fix. |
Description
In the beginning, there is one tab visible ( tab 1 ) and two tabs hidden ( tab 2 and tab 3 ) on a TabBar. Then I want to display tab 2 and tab 3. Meanwhile, hide tab 1.
Tab2.IsVisible = true;
Tab3.IsVisible = true;
Tab1.IsVisible = false;
Run in Android platform, the result is:
If you tap 'Tab 3' tab header, the app will crash.
When run in Windows platform, the result is correct.
Tab1.IsVisible = false;
Tab2.IsVisible = true;
Tab3.IsVisible = true;
Then run in Android platform, the result is correct.
But run in Windows platform, the app will crash.
A repro project is provided: https://github.com/SamShanWang/maui-shell-tab-hide-bug.git
Steps to Reproduce
Version with bug
9.0.408 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows, I was not able test on other platforms
Affected platform versions
Android 7.1, Android 9.0, Windows 10 version 19044.1826, I was not able test on other platform versions
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: