Is the case of "short chats stick to top" supported in an inverted list?
#2,736 建立於 2026年4月10日
倉庫指標
- Star
- (12,814 star)
- PR 合併指標
- (平均合併 26天 4小時) (30 天內合併 17 個 PR)
描述
This has come up before, I think, but it's unclear to me if this use-case is supported or not.
The goal is for "short chats" (in which the total combined height of the entire conversation is less than the height of the container) to appear to align to the top:
And then, when the keyboard opens, it "pushes" the bottom of the chat up, so that it appears to align to the bottom:
I'm aware of how much a gigantic pain in the ass this is because I'm trying to implement it myself now. But thought I'd check if it's already solved. To be clear, I already tried simply flipping the isAlignedTop state. This works fine but it doesn't accommodate the changing keyboard state.