-
Notifications
You must be signed in to change notification settings - Fork 36
Suggestions overlapping with welcome message #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
good idea, @luis901101 . care to take a crack at a PR? |
I think I can give it a try next week. |
By the way here is a screen record supporting the issue's description: Screen.Recording.2025-03-28.at.22.00.42.mov |
@luis901101 I think you and I should agree on a design and the behavior we're looking for ahead of the code to produce that behavior. Right now, this PR has the following behavior:
I don't actually think that either of these behaviors is what we want. |
Hi @csells
Anyways, just let me know the expected behavior for each case and I can give it a try. |
I guess the ideal UI would be that the suggestions are in the listview along with the messages and the welcome message. that way, things scroll and get out of the way automatically. |
Ok, but the suggestions are only meant to help start a conversation, right? I mean, once the user sends the first message whether it's from a suggestion or something they typed, the suggestions should disappear? |
right |
All clear, I will get back to my PR next week. |
Have a good weekend! |
fixed with 0.7.1: https://pub.dev/packages/flutter_ai_toolkit |
For a new chat with a welcome message, no history and a list of suggestions, the suggestions list overlaps the welcome message when the input field has focus.
Reproducible code using v0.6.8
Depending on the number of suggestions and the welcome message, this may become more noticeable. In any case, I believe that if the LlmChatView has suggestions, the input field should not automatically receive focus. However, if the user manually taps on the input field, the suggestions should be hidden.
Additionally, making the suggestions scrollable could be useful.
The text was updated successfully, but these errors were encountered: