fixes #483: Keyboard covers input text box when editing message

This commit is contained in:
Salvatore Giordano
2021-06-21 14:38:50 +02:00
parent 7059e2fe21
commit c5fc824154
@@ -625,7 +625,9 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
topRight: Radius.circular(16), topRight: Radius.circular(16),
), ),
), ),
builder: (context) => StreamChannel( builder: (context) => Padding(
padding: MediaQuery.of(context).viewInsets,
child: StreamChannel(
channel: channel, channel: channel,
child: Flex( child: Flex(
direction: Axis.vertical, direction: Axis.vertical,
@@ -669,6 +671,7 @@ class _MessageActionsModalState extends State<MessageActionsModal> {
], ],
), ),
), ),
),
); );
} }