Skip to main content

Type Alias: ScrollModifier

ScrollModifier = null | undefined | { type: "item-location"; location: ItemLocation; purgeItemSizes?: boolean; } | { type: "auto-scroll-to-bottom"; autoScroll: AutoscrollToBottom; } | { type: "items-change"; behavior: ScrollBehavior | { location: () => ItemLocation | null | undefined; }; } | ScrollModifierOptionValue

Describes the scroll modification to perform when the data of the list is updated. See the scroll modifier documentation section for examples of how to use this type.