Closed
Description
Bug, feature request, or proposal:
We found a bug. We had top content and a tab group below this content. And then we scrolled a little bit to bottom. We switched between some tabs. Now, page scrolled to top automatically.
It only occurs when we have top content on this page.
What is the expected behavior?
Page should keep scroll position when switching some tabs
What is the current behavior?
Page scrolls to top when switching some tabs
What are the steps to reproduce?
-Step 1: Scroll a little bit to bottom on page
-Step 2: Click on Tab 3
The page will scroll to top.
Demo here: https://stackblitz.com/edit/angular-wjtrxy
What is the use-case or motivation for changing an existing behavior?
A bug
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 5.0.3 - Material 5.0.2 - Window 10 - Typescript 2.4.2
Is there anything else we should know?
Thanks a lot!