Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

md-tabs: Scrolls to top of page when tab is clicked #4281

@SmoshySmosh

Description

@SmoshySmosh

Clicking a new tab while using md-tabs will switch the tab but will also scroll the browser to the top of the page. Is this expected?

Tested on:

  • Chrome
  • Firefox
  • Safari

Replicate:
Codepen: http://codepen.io/anon/pen/pJXYbX

  1. Scroll to bottom
  2. Press Tab 3
  3. Notice it scrolls to the top.

Note: In this example only tab 3 does it. But it consistently happens when clicking any tab in my project.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions