TF-3480 Fix can not click outside the composer when composer open
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -53,24 +53,21 @@ class ComposerOverlayView extends StatelessWidget {
|
|||||||
.where((view) => !view.controller.isHiddenScreen)
|
.where((view) => !view.controller.isHiddenScreen)
|
||||||
.toList();
|
.toList();
|
||||||
|
|
||||||
return SingleChildScrollView(
|
return Padding(
|
||||||
scrollDirection: Axis.horizontal,
|
padding: const EdgeInsetsDirectional.all(ComposerStyle.padding),
|
||||||
child: Padding(
|
child: Row(
|
||||||
padding: const EdgeInsetsDirectional.all(ComposerStyle.padding),
|
crossAxisAlignment: CrossAxisAlignment.end,
|
||||||
child: Row(
|
mainAxisSize: MainAxisSize.min,
|
||||||
crossAxisAlignment: CrossAxisAlignment.end,
|
children: [
|
||||||
mainAxisSize: MainAxisSize.min,
|
if (countComposerHidden > 0)
|
||||||
children: [
|
ExpandComposerButton(
|
||||||
if (countComposerHidden > 0)
|
countComposerHidden: countComposerHidden,
|
||||||
ExpandComposerButton(
|
onRemoveHiddenComposerItem: (controller) =>
|
||||||
countComposerHidden: countComposerHidden,
|
controller.handleClickCloseComposer(context),
|
||||||
onRemoveHiddenComposerItem: (controller) =>
|
onShowComposerAction: composerManager.showComposerIfHidden,
|
||||||
controller.handleClickCloseComposer(context),
|
),
|
||||||
onShowComposerAction: composerManager.showComposerIfHidden,
|
...visibleComposers,
|
||||||
),
|
],
|
||||||
...visibleComposers,
|
|
||||||
],
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user