하위 디렉터리로 이동시 DirectoryEntries 컴포넌트가 재사용되면서 애니메이션이 즉시 사라지지 않는 버그 수정

This commit is contained in:
static
2025-01-06 21:20:00 +09:00
parent 183a3590a9
commit 3168c441b9

View File

@@ -64,14 +64,16 @@
{/if}
</div>
{#if $info}
<DirectoryEntries
info={$info}
onEntryClick={({ type, id }) => goto(`/${type}/${id}`)}
onEntryMenuClick={(entry) => {
selectedEntry = entry;
isDirectoryEntryMenuBottomSheetOpen = true;
}}
/>
{#key $info}
<DirectoryEntries
info={$info}
onEntryClick={({ type, id }) => goto(`/${type}/${id}`)}
onEntryMenuClick={(entry) => {
selectedEntry = entry;
isDirectoryEntryMenuBottomSheetOpen = true;
}}
/>
{/key}
{/if}
</div>