fix: Various tiny fixes/improvements (#2433)

This commit is contained in:
Dermot Duffy
2026-06-30 17:45:12 -07:00
committed by dermotduffy
parent 31f13f40cf
commit eb72a97fb7
3 changed files with 22 additions and 28 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ export class MediaGridController {
this._masonry
) {
// Implementation note: With the latest version of the Masonry library
// (4.2.2) using the prepended() and appended() methods in quick sucession
// (4.2.2) using the prepended() and appended() methods in quick succession
// causes the layout to not show the newly added items. Instead, access
// the items in place and swap them around.
const otherItems = existingItems?.filter((item) => item !== selectedItem);