-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Tab corresponding to the index should be displayed.
What is the current behavior?
Previously selected tab is displayed, tabGroup selectedIndex is not updated.
What are the steps to reproduce?
This bug can also be found in the documentation/demos.
Material Demo
In the demo "Tag group with dynamically changing tabs" when checking the "Select tab after adding", the tab is not focused when adding a tab.
In custom code the tab is also not focused when updating the selectedIndex.
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
- Angular: 6.0.6
- Angular Material: 6.3.2
- OS: Windows
- Browsers: Chrome, FireFox, Opera, IE Edge
Is there anything else we should know?
rimfok, avainius, vdrasutis, DavidRouyer, treveshan and 10 more
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent