fixed z-index issue with background-loading indicator being behind talk-messages in chats
This commit is contained in:
@@ -115,9 +115,6 @@ class LoadableStateConsumer<
|
|||||||
visible: showPrimaryLoading,
|
visible: showPrimaryLoading,
|
||||||
statusText: loadableState.statusText,
|
statusText: loadableState.statusText,
|
||||||
),
|
),
|
||||||
LoadableStateBackgroundLoading(
|
|
||||||
visible: showBackgroundLoading,
|
|
||||||
),
|
|
||||||
LoadableStateErrorScreen(
|
LoadableStateErrorScreen(
|
||||||
visible: showError,
|
visible: showError,
|
||||||
message: loadableState.error?.message,
|
message: loadableState.error?.message,
|
||||||
@@ -130,6 +127,12 @@ class LoadableStateConsumer<
|
|||||||
curve: Curves.easeInOut,
|
curve: Curves.easeInOut,
|
||||||
child: childWidget,
|
child: childWidget,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
// Painted last so the top loading bar stays above the content
|
||||||
|
// instead of being covered by it (e.g. the chat message list).
|
||||||
|
LoadableStateBackgroundLoading(
|
||||||
|
visible: showBackgroundLoading,
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user