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

This commit is contained in:
Salvatore Giordano
2021-06-21 09:54:13 +02:00
parent 9796cb5cbb
commit 6b26ce6915
@@ -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> {
], ],
), ),
), ),
),
); );
} }