π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix comment likes disappearing during sidebar close animation
Anand Baburajan90f56db286f4
diff --git a/web/packages/gallery/components/viewer/CommentsSidebar.tsx b/web/packages/gallery/components/viewer/CommentsSidebar.tsxindex 6210fedb45..baf36a95f3 100644--- a/web/packages/gallery/components/viewer/CommentsSidebar.tsx+++ b/web/packages/gallery/components/viewer/CommentsSidebar.tsx@@ -933,7 +933,9 @@ export const CommentsSidebar: React.FC<CommentsSidebarProps> = ({// Build liked comments map from reactions when selected collection changesuseEffect(() => {- if (!open || !selectedCollectionInfo) {+ // Don't reset state on close - preserves UI during exit animation+ if (!open) return;+ if (!selectedCollectionInfo) {setLikedComments(new Map());return;}