mirror of
https://github.com/immich-app/immich.git
synced 2026-02-28 17:49:05 +03:00
fix: scroll jump when opening show & hide people (#25932)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { goto } from '$app/navigation';
|
||||
import { page } from '$app/stores';
|
||||
import { focusTrap } from '$lib/actions/focus-trap';
|
||||
import { scrollMemory } from '$lib/actions/scroll-memory';
|
||||
import { shortcut } from '$lib/actions/shortcut';
|
||||
import ManagePeopleVisibility from '$lib/components/faces-page/manage-people-visibility.svelte';
|
||||
@@ -381,12 +380,10 @@
|
||||
|
||||
{#if selectHidden}
|
||||
<dialog
|
||||
open
|
||||
transition:fly={{ y: innerHeight, duration: 150, easing: quintOut, opacity: 0 }}
|
||||
class="absolute start-0 top-0 h-full w-full bg-light"
|
||||
aria-modal="true"
|
||||
class="fixed inset-0 h-full w-full max-w-none max-h-none bg-light"
|
||||
aria-labelledby="manage-visibility-title"
|
||||
use:focusTrap
|
||||
{@attach (dialog) => dialog.showModal()}
|
||||
>
|
||||
<ManagePeopleVisibility
|
||||
{people}
|
||||
|
||||
Reference in New Issue
Block a user