Tab pages in a TabbedPage do not disappear when their IsVisible
property is set to False
. Instead, the tab remains, but the content of the tab is blank. Not entirely what one would expect.
TabbedPage
with some tab pagesIsVisible
property to False
The entire page is no longer visible.
The page tab is visible.
@mfeingol hi
I guess you should Remove it manually from TabbedPage.
tabbedPage.Children.Remove(invisiblePage);
I know what the workaround is. I just think this should work. :-)
@mfeingol hi
I guess you should Remove it manually from TabbedPage.tabbedPage.Children.Remove(invisiblePage);
This hack around doesn't really work for an MVVM architecture.
Advocating this problem be looked into a bit more urgently please. This should be basic functionality of a Tab display, and is a blatant bug.
Just to make aware, the same issue with IsEnabled property on TabbedPage is also present.
Expected result when IsEnabled="False" is for the tab to be displayed but disabled with no action taking place on touch.
Most helpful comment
I know what the workaround is. I just think this should work. :-)