From 58dbab3fc81433a1e20a48105741448df6a558ee Mon Sep 17 00:00:00 2001 From: Will Soares Date: Sun, 23 Aug 2020 18:52:26 -0300 Subject: [PATCH] fix: avoid page scroll when switching tabs --- src/v2/guide/components-dynamic-async.md | 24 ++++++++++++++---------- src/v2/guide/components.md | 10 ++++++---- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/src/v2/guide/components-dynamic-async.md b/src/v2/guide/components-dynamic-async.md index 65162751ef..2e5f7e5aa3 100644 --- a/src/v2/guide/components-dynamic-async.md +++ b/src/v2/guide/components-dynamic-async.md @@ -24,10 +24,12 @@ When switching between these components though, you'll sometimes want to maintai v-bind:class="['dynamic-component-demo-tab-button', { 'dynamic-component-demo-active': currentTab === tab }]" v-on:click="currentTab = tab" >{{ tab }} - +
+ +