-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Made message bar expand up to 4 rows #586
Conversation
), | ||
style: tsSubtitle1 | ||
.copiedWith(color: isSendIconVisible ? black : grey5) | ||
.short, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes it look a little bit cramped vertically? I would maybe create a new line height between short
and our default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. We'll have to make sure that alignment in the single-line case still looks correct.
maxLines: 4, | ||
autofocus: false, | ||
textInputAction: TextInputAction.send, | ||
controller: newMessage, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird edge case:
- write a bunch of stuff (native text keyboard)
- the message bar correctly scrolls
- use emoji keyboard to input emojis
- the message bar doesn't scroll to the newest emoji unless we switch to text keyboard
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, interesting catch! Can you look into this please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two comments:
- I think we should increase the line height a bit
- Edge case with scrolling and switching between emoji <--> native keyboard
'my_message_key'.i18n
and are defined inen.po
.colors.dart
and are not duplicatedtext_styles.dart
and are not duplicated