mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
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:
parent
649d14822a
commit
767caf9bfe
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue