Skip to content

Hope to add options argument for scrollTo function created by useVirtualList hook. #2451

Open
@xvxlb

Description

@xvxlb

For we can scroll smoothly.

Example:

const [, scrollTo] = useVirtualList();

const onScroll = () => scrollTo(1, { behavior: 'smooth' });

Metadata

Metadata

Assignees

Labels

featureNew feature or requestv4

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions