Skip to content

A self-hosted media server and file management system

passibe scroll

aminnausind6a1a821d20a
diff --git a/resources/js/components/pulse/PulseScroll.vue b/resources/js/components/pulse/PulseScroll.vue
index 9b4c17d1..e1b99ff3 100644
--- a/resources/js/components/pulse/PulseScroll.vue
+++ b/resources/js/components/pulse/PulseScroll.vue
@@ -28,15 +28,11 @@ onMounted(async () => {
<div :class="`flex-grow flex w-full overflow-hidden ${props.expand ? '' : ' basis-56'} ${loading && 'opacity-25 animate-pulse'}`">
<div
ref="content"
- @scroll="scroll"
+ @scroll.passive="scroll"
class="flex-grow basis-full overflow-y-auto scrollbar:w-1.5 scrollbar:h-1.5 scrollbar:bg-transparent scrollbar-track:bg-gray-100 scrollbar-thumb:rounded scrollbar-thumb:bg-gray-300 scrollbar-track:rounded dark:scrollbar-track:bg-gray-500/10 dark:scrollbar-thumb:bg-gray-500/50 supports-scrollbars"
>
<slot name="slot"></slot>
- <div
- ref="fade"
- class="h-6 origin-bottom fixed bottom-0 left-0 right-0 bg-gradient-to-t from-white dark:from-gray-900 pointer-events-none"
- wire:ignore
- ></div>
+ <div ref="fade" class="h-6 origin-bottom fixed bottom-0 left-0 right-0 bg-gradient-to-t from-white dark:from-gray-900 pointer-events-none" wire:ignore></div>
</div>
</div>
</template>