Open DilshadTechify opened 9 months ago
so like this? looks fine to me. Are you sure your messages have unique ID?
https://github.com/flyerhq/flutter_chat_ui/assets/14123304/ca190a84-30d0-4485-8664-34b0655d5d20
so like this? looks fine to me. Are you sure your messages have unique ID?
Screen.Recording.2023-12-27.at.22.23.37.mov
same here... problem is when using pagination
https://github.com/flyerhq/flutter_chat_ui/assets/57275833/c4245c1f-1c58-40dd-b0e2-41e45bd20e68
@edit: I believe the problem is with duplicate ids in messages
yeah, in v2
I will make asserts that will be throwing an error if this happens. Unique IDs are very important to differentiate messages.
General
What bug do you experience? 🐞
Duplicate GlobalKey detected in widget tree.
How can it be reproduced? 🤔
Step 1. Click in Textfield and type a random message contains bunch of emoji Step 2. Send the message Step 2. Hide the keyboard manually
What behavior is expected? 💡
Once we type message with emoji and send the message then Keyboard should be automatically hide. It is not hiding automatically and throwing Error
Extras
Screenshots or videos 📸
Code snippets 📝
Environment info
Please specify the flutter, flutter-chat-ui versions.
flutter: 3.16.5- stable
flutter-chat-ui: ^1.6.10
flutter doctor -v
output 👇Platform
Device: iOS , Android
OS version):
Additional context
Add any other context about the problem here.