mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 21:03:00 -05:00
[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:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user