mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-25 21:53:17 -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:
parent
7d9f6738eb
commit
79f3faf991
@ -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" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user