From 672410822cafbd96345281ec84f5e754ebf7bdf6 Mon Sep 17 00:00:00 2001 From: brunocalou Date: Sun, 25 Jun 2017 16:06:57 -0300 Subject: [PATCH] Fixed disappearing tabs when the component is kept alive and the viewport is resized #697 --- src/components/mdTabs/mdTabs.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/mdTabs/mdTabs.vue b/src/components/mdTabs/mdTabs.vue index 08c7d93..e8ff950 100644 --- a/src/components/mdTabs/mdTabs.vue +++ b/src/components/mdTabs/mdTabs.vue @@ -275,6 +275,9 @@ this.$refs.tabsContainer.scrollLeft = Math.min(scrollWidth, scrollLeft + clientWidth); } }, + activated() { + this.calculateOnResize(); + }, mounted() { this.$nextTick(() => { this.observeElementChanges();