Skip to main content

Function: useVirtuosoLocation

useVirtuosoLocation(): ListScrollLocation

Lets you access the current scroll location of the message list component from its child components. See ListScrollLocation for the available properties.

Returns

ListScrollLocation