fix(mobile): ignore pointer events on toasts (#26990)

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 2026-04-04 16:39:13 +01:00 committed by GitHub
parent 649d14822a
commit 767caf9bfe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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