Skip to content

Strange behaviour when removing a tab from the middle #45

Description

@singhal2

I observed a strange behaviour when a middle tab is removed on runtime. In that case, it seems like the header view does not adjust automatically. I created a tab view with 5 tabs and tried to remove tab 4 (index 3).

Method 1:
tabView.RemoveTab(3);
In this case, both the tab and the content is removed however the header strip is not adjusted and there is space left where the tab was removed.

Screenshot 2020-08-10 at 21 45 26

Method 2:
tabView.ItemSource.Remove(tabView.ItemSource[3]);
In this case, the tab content is removed however the header still exists. However when the header is clicked, last tab content is shown.

Great stuff otherwise. Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions