Skip to content

Commit 94ea83c

Browse files
fix(web): ocr button not clickable for stacked assets (immich-app#25210)
1 parent 4b5b9ba commit 94ea83c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

web/src/lib/components/asset-viewer/asset-viewer.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,11 +586,11 @@
586586

587587
{#if stack && withStacked}
588588
{@const stackedAssets = stack.assets}
589-
<div id="stack-slideshow" class="absolute bottom-0 w-full col-span-4 col-start-1">
589+
<div id="stack-slideshow" class="absolute bottom-0 w-full col-span-4 col-start-1 pointer-events-none">
590590
<div class="relative flex flex-row no-wrap overflow-x-auto overflow-y-hidden horizontal-scrollbar">
591591
{#each stackedAssets as stackedAsset (stackedAsset.id)}
592592
<div
593-
class={['inline-block px-1 relative transition-all pb-2']}
593+
class={['inline-block px-1 relative transition-all pb-2 pointer-events-auto']}
594594
style:bottom={stackedAsset.id === asset.id ? '0' : '-10px'}
595595
>
596596
<Thumbnail

0 commit comments

Comments
 (0)