balm-ui
balm-ui copied to clipboard
Scroll issue when using tabs in Single Page Appplication
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).
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