Replies: 1 comment
-
|
Use either: paddingEnd: 120,
scrollEndThreshold: 120, // or a bit largeror reduce |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm implementing a chat UI anchoring to the bottom. The height of the chat messages can increase when rendering due to dynamic content such as images/video and markdown content that is rendered async.
I've noticed that when
paddingEndis larger thanscrollEndThreshold, then the chat doesn't stay anchored to the bottom as the final item expands in height. It tracks it for a while, but then stops.I have a minimal repro here.
Is there some approach I should use to update the virtualiser?
Beta Was this translation helpful? Give feedback.
All reactions