xamarin/Xamarin.Forms

TabbedPage: tab pages do not disappear when IsVisible=False

Aperta

#5291 aperta il 18 feb 2019

 (3 commenti) (4 reazioni) (0 assegnatari)C# (1926 fork)batch import
e/3 :clock3:help wantedi/lowt/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

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.

Steps to Reproduce

  1. Set up a TabbedPage with some tab pages
  2. Set one of the pages' IsVisible property to False
  3. Observe that the page tab does not disappear

Expected Behavior

The entire page is no longer visible.

Actual Behavior

The page tab is visible.

Basic Information

  • Version with issue: 3.5.0
  • Last known good version: Unknown
  • IDE: VS 2017
  • Platform Target Frameworks:
    • Android: 8.1
  • Android Support Library Version: 28.0.1
  • Nuget Packages:
  • Affected Devices:

Screenshots

Reproduction Link

XamarinFormsSample.zip

Guida contributor