Skip to content

[Bug] Fast tab switch forces scroll up #7032

Closed

Description

@ricardo-yuxi

Bug, feature request, or proposal:

Bug.

What is the expected behavior?

The tab should switch without triggering any scroll.

What is the current behavior?

When you switch tabs after making any scroll, the pages try to scroll up to the beginning of the page

What are the steps to reproduce?

Take a look at the last gif about the tabs example, here's the URL:
https://material.angular.io/components/tabs/api

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

"@angular/core": "~4.1.0"
"@angular/material": "^2.0.0-beta.8"
Browsers: Google Chrome@60.0.3112.113
Safari@10.1

Is there anything else we should know?

This behavior can be seen in the next 2 gifs:
material-bug
material-bug-2

In the last one, you can see it even happens in material tabs example.

Activity

  1. donroyco commented on Sep 13, 2017

    @donroyco
    Contributor

    What's the browser that you're seeing this issue?

  2. ricardo-yuxi commented on Sep 13, 2017

    @ricardo-yuxi
    Author

    @donroyco in chrome and safari

  3. ricardo-yuxi commented on Sep 13, 2017

    @ricardo-yuxi
    Author

    @donroyco I updated the browser versions in issue description as requested.

  4. angular-automatic-lock-bot commented on Sep 7, 2019

    @angular-automatic-lock-bot

    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.

  5. locked and limited conversation to collaborators on Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions