Skip to content
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

TabViewItem Visibility = Collapsed shows its contentBug title #7318

Closed
1 of 2 tasks
ritesh3103 opened this issue Jul 5, 2022 · 1 comment
Closed
1 of 2 tasks

TabViewItem Visibility = Collapsed shows its contentBug title #7318

ritesh3103 opened this issue Jul 5, 2022 · 1 comment
Labels
area-TabView bug Something isn't working no-issue-activity product-winui3 WinUI 3 issues team-Controls Issue for the Controls team

Comments

@ritesh3103
Copy link

ritesh3103 commented Jul 5, 2022

Describe the bug

In a TabView control when I use Visibility = Collapsed for a TabViewItem, it hides the header but shows the content.

Steps to reproduce the bug

<TabView IsAddTabButtonVisible="False">
        <TabView.TabItems>
            <TabViewItem Header="Tab 1" Visibility="Collapsed">
                <TextBlock Text="Testing" />
            </TabViewItem>
        </TabView.TabItems>
    </TabView>

Expected behavior

It should hide the content too.

Screenshots

TabView Screen

NuGet package version

WinUI 3 - Windows App SDK 1.1.1

Windows app type

  • UWP
  • Win32

Device form factor

Desktop

Windows version

Windows 11 (21H2): Build 22000

Additional context

The Nuget package is Windows App SDK 1.1.2 which is not given here in the drop down selection.

@ritesh3103 ritesh3103 added the bug Something isn't working label Jul 5, 2022
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Jul 5, 2022
@ojhad ojhad added area-TabView team-Controls Issue for the Controls team product-winui3 WinUI 3 issues and removed needs-triage Issue needs to be triaged by the area owners labels Jul 11, 2022
@github-actions
Copy link

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-TabView bug Something isn't working no-issue-activity product-winui3 WinUI 3 issues team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

2 participants