Conversation
|
bugbot run |
It's fine since it is a new API, not public facing - I want it inverted. |
|
bugbot run |
There was a problem hiding this comment.
Bug: Send Icon Inconsistency
The send icon's visual state is inconsistent with its functional behavior. The onChanged callback now uses value.trim().isNotEmpty to determine if the text field has content, which affects the send icon's color (making it appear disabled for whitespace-only input). However, the send functionality, triggered by _handleSubmitted, still uses the untrimmed text, allowing messages consisting solely of whitespace to be sent despite the icon's disabled appearance.
packages/flutter_chat_ui/lib/src/composer.dart#L274-L340
flutter_chat_ui/packages/flutter_chat_ui/lib/src/composer.dart
Lines 274 to 340 in f79e323
Was this report helpful? Give feedback by reacting with 👍 or 👎
* fix: perf improvements * fixes after review
No description provided.