-
Notifications
You must be signed in to change notification settings - Fork 159
Open
Description
I would like to achieve the following behavior: when the user reaches the end of the text field, the text should wrap to the next line. For this to work, I need to set inputMaxLines to a specific number and sendOnEnter to false in InputOptions.
InputOptions(
inputMaxLines: 5,
sendOnEnter: true,
textInputAction: TextInputAction.send,
)
However, this setup breaks when sendOnEnter is set to true. In this case, instead of wrapping to the next line, the text continues in a straight line and moves horizontally off the screen.
It would be great to know if this is a bug or an intended behavior. Ideally, I'd like to be able to both:
- Use sendOnEnter to allow message sending with the Enter key.
- Have the text wrap to the next line as the user types.
Could you confirm if this is the expected behavior or if there is a potential fix for this?
Metadata
Metadata
Assignees
Labels
No labels