TF-3480 Fix can not click outside the composer when composer open

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-03-13 12:46:47 +07:00
committed by Dat H. Pham
parent e6b2868044
commit 826149dbdb
@@ -53,24 +53,21 @@ class ComposerOverlayView extends StatelessWidget {
.where((view) => !view.controller.isHiddenScreen)
.toList();
return SingleChildScrollView(
scrollDirection: Axis.horizontal,
child: Padding(
padding: const EdgeInsetsDirectional.all(ComposerStyle.padding),
child: Row(
crossAxisAlignment: CrossAxisAlignment.end,
mainAxisSize: MainAxisSize.min,
children: [
if (countComposerHidden > 0)
ExpandComposerButton(
countComposerHidden: countComposerHidden,
onRemoveHiddenComposerItem: (controller) =>
controller.handleClickCloseComposer(context),
onShowComposerAction: composerManager.showComposerIfHidden,
),
...visibleComposers,
],
),
return Padding(
padding: const EdgeInsetsDirectional.all(ComposerStyle.padding),
child: Row(
crossAxisAlignment: CrossAxisAlignment.end,
mainAxisSize: MainAxisSize.min,
children: [
if (countComposerHidden > 0)
ExpandComposerButton(
countComposerHidden: countComposerHidden,
onRemoveHiddenComposerItem: (controller) =>
controller.handleClickCloseComposer(context),
onShowComposerAction: composerManager.showComposerIfHidden,
),
...visibleComposers,
],
),
);
});