react-native-gifted-chat
react-native-gifted-chat copied to clipboard
Potential bug: MessageContainer animation issues upon resizing of InputToolbar height
I am trying to create a suggested message list for users to send pre-determined messages.
This list can be rendered vertically (expanded state) or horizontally (condensed state). So far I have implemented this by placing the suggested message list within InputToolbar. The issue is that when setting the suggested list to expanded state, there is a delay between the suggested list being expanded and the chat bubbles adjusting to the new MessageContainer height. But as you can see in the attached video, when setting the suggested list to a condensed state, there is no delay and the behavior is as expected.
https://github.com/user-attachments/assets/e46774ac-9e15-4c5f-97aa-c8cdbb35c494