Skip to content

Virtualize options to gain performance on big option lists #76

@mseele

Description

@mseele

Using multiselect with very big lists of options (3000+) the performance is very slow because all options are rendered in the options list instantly.

A virtualization of the option list would be a great thing. Only render the first n options and add more if needed (on scrolling or for search).
Vuetify has a very smart concept for this, imho:
They use a variable lastItem (could be defined by a prop to make the virtualization completely optional) that they modify on key clicks and on scroll (if needed).

Please search for lastItem in https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/components/VSelect/VSelect.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions