Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(material/tabs): avoid interrupting click event when scrolling the…
… header (#21911) When a header is scrollable, we scroll a tab into view whenever it receives focus. The problem is that if focus is moved as a result of a mouse/touch event, the tab can be moved out from under the pointer, interrupting the click. These changes work around the issue by not scrolling the header on mouse/touch focus. Fixes #21898.
- Loading branch information