Skip to content

Scroll issue when using tabs in Single Page Appplication #148

Description

@MarcoTroost

Development Relevant Information:

  • BalmUI version: 10.12.0
  • Browser: Chrome
  • Vue version: 3.2.38

Description:

I'm using<ui-tabs> in a vue component in a single page application that uses vue-router.
The problem is thatmdc-tab-bar seems to hijack the app's scroll position, so that it is exactly set at the middle of the viewport (with the first tab focused).

Schermafbeelding 2022-10-04 om 14 03 57

Expected behavior is that that the tab won't receive focus and will certainly not hijack the scroll position.

Any help is greatly appreciated!

kind regards, Marco

Activity

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