mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
fix(web): unable to scroll timeline after using gesture (#12163)
This commit is contained in:
parent
fcbc1ba399
commit
18fcc3569f
1 changed files with 7 additions and 3 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue