Skip to content

fix: avoid page scroll when switching tabs #2675

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

willamesoares
Copy link

Not entirely sure on the root cause for this behavior reported in #2668 but I guess that is somehow related to the fact that when changing tabs we are removing then adding an entire new div to the DOM instead of manipulating the contents of an existing one. It seems like it needs to be wrapped in a div (or some other tag?).

Updated behavior
tab_vue

PS.: this can still be used/revisited post v3 so opening a PR.

@Justineo
Copy link
Member

Thanks for the PR! #2700 should be a more precise fix for this issue so we merged that one instead. But still thanks for your contribution!

@Justineo Justineo closed this Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants