fix(web): preserve album scroll when adding to other albums (#27078)

This commit is contained in:
Michel Heusschen authored and GitHub committed 2026-03-20 09:42:19 -05:00
1 parent b7c4497dfd
commit 9a0c17fdb8
1 file changed
+5 -1
@@ -287,7 +287,11 @@
}
};
const onAlbumAddAssets = async () => {
const onAlbumAddAssets = async ({ albumIds }: { albumIds: string[] }) => {
if (!albumIds.includes(album.id)) {
return;
}
await refreshAlbum();
timelineInteraction.clearMultiselect();
await setModeToView();