fix: Multiline keyboard on web and desktop
This commit is contained in:
parent
a9be871956
commit
3667206944
2 changed files with 76 additions and 39 deletions
|
|
@ -668,11 +668,9 @@ class ChatView extends StatelessWidget {
|
|||
child: InputBar(
|
||||
room: controller.room,
|
||||
minLines: 1,
|
||||
maxLines: kIsWeb ? 1 : 8,
|
||||
maxLines: 8,
|
||||
autofocus: !PlatformInfos.isMobile,
|
||||
keyboardType: !PlatformInfos.isMobile
|
||||
? TextInputType.text
|
||||
: TextInputType.multiline,
|
||||
keyboardType: TextInputType.multiline,
|
||||
onSubmitted:
|
||||
controller.onInputBarSubmitted,
|
||||
focusNode: controller.inputFocus,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue