fix: Inputbar focus
This commit is contained in:
parent
190b45b6cb
commit
c48f036bac
2 changed files with 5 additions and 1 deletions
|
|
@ -961,7 +961,8 @@ class _ChatState extends State<_Chat> {
|
|||
room: room,
|
||||
minLines: 1,
|
||||
maxLines: kIsWeb ? 1 : 8,
|
||||
keyboardType: kIsWeb
|
||||
autofocus: !PlatformInfos.isMobile,
|
||||
keyboardType: !PlatformInfos.isMobile
|
||||
? TextInputType.text
|
||||
: TextInputType.multiline,
|
||||
onSubmitted: (String text) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue