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.19k stars 1.74k forks source link

TabbedPage: content not shown after readding #21640

Open Schredderwand opened 6 months ago

Schredderwand commented 6 months ago

Description

When the app starts, all tabs are displayed correctly, but if I remove the tab and then add it again, the content of the tab is not displayed. This happens on Android an iOS

After App launch - content is shown Screenshot_20240404-153926

After readding - content is not shown Screenshot_20240404-153937

Steps to Reproduce

Run the repo posted below

Link to public reproduction project repository

https://github.com/Schredderwand/MauiBugs/tree/main/MauiTabbed

Version with bug

8.0.10 SR3

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android

Affected platform versions

Android 14 iOS 17.2

Did you find any workaround?

No response

Relevant log output

No response

ninachen03 commented 6 months ago

Can repro this issue at Android platform on the latest 17.10 preview 2(8.0.7 & 8.0.14). image