The minimalistic document archiving platform.
feat(tag-list): add loading placeholder to tag picker (#871)
Corentin Thomassetde9ca03915cd
diff --git a/apps/papra-client/src/modules/tags/components/tag-list.component.tsx b/apps/papra-client/src/modules/tags/components/tag-list.component.tsxindex 40cf8d2e..59726b0a 100644--- a/apps/papra-client/src/modules/tags/components/tag-list.component.tsx+++ b/apps/papra-client/src/modules/tags/components/tag-list.component.tsx@@ -196,7 +196,20 @@ export const TagList: Component<{)}/><PopoverContent class="p-0">- <Suspense>+ <Suspense fallback={(+ <div>+ <div class="p-1 border-b">+ <div class="h-26px bg-muted rounded animate-pulse" />+ </div>+ <div class="p-1 flex flex-col gap-1">+ <div class="h-26px bg-muted rounded animate-pulse" />+ <div class="h-26px bg-muted rounded animate-pulse" />+ <div class="h-26px bg-muted rounded animate-pulse" />+ </div>+ </div>+ )}+ >+<TagPickerselectedTags={props.tags}onChange={handleTagsChange}