You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(tabs): scroll position not reset when tabs are removed #24117
Tabs scroll out of view, because scroll position is not reset to _getMaxScrollDistance
Related: Clicking on the button again to remove another 2 tabs scrolls the content back into view, because now the nav bar is no longer scrollable (this was fixed by #23759)
Expected Behavior
Scroll position is never greater than maximum scroll distance
Actual Behavior
Scroll position remains the same, tabs are scrolled out of view
Environment
Angular: 13.1.1
CDK/Material: 13.1.1
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows 10
Activity
fix(material/tabs): wrong scroll distance if selected tab is removed
fix(material/tabs): wrong scroll distance if selected tab is removed (#…
fix(material/tabs): wrong scroll distance if selected tab is removed (#…
fix(material/tabs): wrong scroll distance if selected tab is removed (a…
angular-automatic-lock-bot commentedon May 1, 2022
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.