Skip to content

Need HELP to jump to the selected item, when the Select is opened #142

Description

@phynae

With the react-select library, there was a property called menuShouldScrollIntoView which always scrolled to the currently selected item, when the select was opened by the user. But this does not work for react-windowed-select even though it is being said, that all props are passed right down to the root component.

I've heard, that this is also not possible, since react-window does only render the items that are currently in view. Therefor it is being said, that you could call .scrollToItem() on the VariableSizeList. The issue is, that there is no possibility, as of my knowledge, to get a ref to that list.

Greetings,
Phynae

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions