Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ChatGPT or Claude’s list behaviour #1978

Unanswered
bacarybruno asked this question in Q&A
Discussion options

I'm trying to build a chat interface in React Native that mimics ChatGPT or Claude’s mobile app UI:

  • On load, messages display like a regular chat: newest messages appear at the bottom
  • When the user sends a new message, it should appear at the top of the screen (so the conversation feels like it’s "stacking upward")
  • The AI response should appear below the user’s message
  • When the AI responds, there should be no auto-scroll

So far, the only approach that sort of works is to leave an empty space below the user’s message and animate it to make room for the AI’s response as it renders.

Is there a cleaner way to achieve this behavior using FlashList? 🙏

(also asked on LegendList)

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /