1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

fix: fixes flicker on scroll progress bar (#2371)

This commit is contained in:
Amir Raminfar
2023-08-28 09:06:31 -07:00
committed by GitHub
parent 06c6a605fd
commit 617bf71cad
2 changed files with 3 additions and 4 deletions

View File

@@ -4,8 +4,8 @@
<slot name="header"></slot>
</header>
<main :data-scrolling="scrollable ? true : undefined">
<div class="is-scrollbar-progress is-hidden-mobile">
<scroll-progress v-if="paused" :indeterminate="loading" :auto-hide="!loading"></scroll-progress>
<div class="is-scrollbar-progress is-hidden-mobile" v-show="paused">
<scroll-progress :indeterminate="loading" :auto-hide="!loading"></scroll-progress>
</div>
<div ref="scrollableContent">
<slot :setLoading="setLoading"></slot>