fix(mobile): ignore pointer events on toasts

These toasts can sometimes cover UI elements and make them impossible to
interact with until they are dismissed. Specifically, deleting an asset
will show a toast over the video controls and prevent seeking.
This commit is contained in:
Thomas Way
2026-03-17 18:27:49 +00:00
parent 677cb660f5
commit 97a3b551e2

View File

@@ -55,7 +55,7 @@ class ImmichToast {
bottom: gravity == ToastGravity.BOTTOM ? 150 : null, bottom: gravity == ToastGravity.BOTTOM ? 150 : null,
left: MediaQuery.of(context).size.width / 2 - 150, left: MediaQuery.of(context).size.width / 2 - 150,
right: MediaQuery.of(context).size.width / 2 - 150, right: MediaQuery.of(context).size.width / 2 - 150,
child: child, child: IgnorePointer(child: child),
); );
}, },
gravity: gravity, gravity: gravity,