mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +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 />
|
<LoadingSpinner />
|
||||||
</div>
|
</div>
|
||||||
{:else if !imageError}
|
{: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}
|
{#if $slideshowState !== SlideshowState.None && $slideshowLook === SlideshowLook.BlurredBackground}
|
||||||
<img
|
<img
|
||||||
src={assetFileUrl}
|
src={assetFileUrl}
|
||||||
|
@ -181,8 +187,6 @@
|
||||||
<img
|
<img
|
||||||
bind:this={$photoViewer}
|
bind:this={$photoViewer}
|
||||||
src={assetFileUrl}
|
src={assetFileUrl}
|
||||||
use:swipe
|
|
||||||
on:swipe={onSwipe}
|
|
||||||
alt={$getAltText(asset)}
|
alt={$getAltText(asset)}
|
||||||
class="h-full w-full {$slideshowState === SlideshowState.None
|
class="h-full w-full {$slideshowState === SlideshowState.None
|
||||||
? 'object-contain'
|
? 'object-contain'
|
||||||
|
|
Loading…
Reference in a new issue