Replies: 3 comments 9 replies
-
Beta Was this translation helpful? Give feedback.
-
Initially ReanimatedChatFlatList component from the example has behavior="translate-with-padding" and FlatList inverted and yes it works awesome and it mimics Telegram behaivor where messages fiil from the bottom But how did you do you example ? As I see in the your first video the messages are at the top? How can I make WhatsApp style chat where message fill from the top to the bottom )? |
Beta Was this translation helpful? Give feedback.
-
And I think that "gift-chat" behavior by default also doesn't work as I expected, because It moves even one message up under the header. Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-07-09.at.14.55.06.mp4This is my dream keyboard behavior ) ScreenRecording_07-09-2025.14-53-21_1.online-video-cutter.com.mp4ScreenRecording_07-09-2025.14-54-20_1.online-video-cutter.com.mp4 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m working on implementing a chat bot feature in my app using react-native-keyboard-controller, and I want to achieve behavior similar to react-native-gifted-chat where the input smoothly sticks to the keyboard when it appears.
Current setup
I currently use something like:
Video example of current setup

Problem
I want to get rid of onContentSizeChange, onLayout and use only layout resizing but:
Desired behavior

I want a behavior similar to GiftedChat:
This is code from their GiftedChat component:
So as I understand they use something super custom?
Can you share with me some ideas? How can I implement similar to gifted-chat behavior but without their library.
Beta Was this translation helpful? Give feedback.
All reactions