[web-src] Dirty hack to avoid page jumping during navigation

Without this vue (router) renders the page navigating to in the center first and then the page jumps to the top.
This commit is contained in:
chme 2019-07-06 10:21:37 +02:00
parent 7d9f6738eb
commit 79f3faf991

View File

@ -3,7 +3,8 @@
<navbar-top />
<vue-progress-bar class="fd-progress-bar" />
<transition name="fade">
<router-view />
<!-- Setting v-show to true on the router-view tag avoids jumpiness during transitions -->
<router-view v-show="true" />
</transition>
<notifications v-show="!show_burger_menu" />
<navbar-bottom v-show="!show_burger_menu" />