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

Strange behaviour when removing a tab from the middle #45

Open
singhal2 opened this issue Aug 10, 2020 · 1 comment
Open

Strange behaviour when removing a tab from the middle #45

singhal2 opened this issue Aug 10, 2020 · 1 comment

Comments

@singhal2
Copy link

singhal2 commented Aug 10, 2020

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.

@Palak247
Copy link

Any solution to this or any hack or workaround ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants