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)
|
||||
.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,
|
||||
],
|
||||
),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user