1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 22:51:59 +00:00

fix(web): unable to scroll timeline after using gesture (#12163)

This commit is contained in:
kaziu687 2024-08-30 23:31:42 +02:00 committed by GitHub
parent fcbc1ba399
commit 18fcc3569f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -169,7 +169,13 @@
<LoadingSpinner />
</div>
{:else if !imageError}
<div use:zoomImageAction class="h-full w-full" transition:fade={{ duration: haveFadeTransition ? 150 : 0 }}>
<div
use:zoomImageAction
use:swipe
on:swipe={onSwipe}
class="h-full w-full"
transition:fade={{ duration: haveFadeTransition ? 150 : 0 }}
>
{#if $slideshowState !== SlideshowState.None && $slideshowLook === SlideshowLook.BlurredBackground}
<img
src={assetFileUrl}
@ -181,8 +187,6 @@
<img
bind:this={$photoViewer}
src={assetFileUrl}
use:swipe
on:swipe={onSwipe}
alt={$getAltText(asset)}
class="h-full w-full {$slideshowState === SlideshowState.None
? 'object-contain'