Skip to main content

Custom Scrollbar Component

Similar to the standard Virtuoso component, VirtuosoMessageList supports integration with custom scrollbar components. The custom scrollbar must expose a ref to its scrollable element, which is passed through the customScrollParent prop. The example above demonstrates how to integrate SimpleBar, a popular custom scrollbar library, with VirtuosoMessageList.

loading...