Skip to content

Strike Picklist - Arrow key navigation does not work properly after a filter search #216

@chewy2

Description

@chewy2

If a user filters the picklist the arrow keys will navigate through the entire list instead of only the filtered list. This cause the picklist to focus/select things that are currently hidden instead of only the visible elements.

Fix : Update getChildOptions to only push the child to the options array only if the child is currently visible. Update doSearch to reset the index to null everytime its does a search and also do not search if arrow keys were hit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions