mirror of
https://github.com/immich-app/immich.git
synced 2026-03-22 19:50:05 +03:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user