Skip to main content

Scroll to Item

The message list exposes an imperative API to scroll to a specific item. This is useful when you want to scroll to a specific message or a specific index in the list.

caution

If you want to change the scroll location when updating the data of the list, make sure to use the respective scroll modifier field. The value is used with the right timing and will not cause unnecessary re-renders and incorrect scroll position due to changed item sizes.

loading...