Skip to content

autoSelectFirst and groupBy visual highlight of first item not correct #325

Closed
@voodoocode

Description

@voodoocode

Hi,
when setting
autoSelectFirst: true, groupBy: 'category'

the behaviour of the visual selecting isn't as I would expect.

The item with the group's name will be highlighted (gets the selected class), instead it should be correctly highlight the first suggestion in that group (the second list item).

However on pressing Enter the first suggestion of the first group is written to the input correctly.

(tested this with the current master's NBA/NHL example, by adding autoSelectFirst)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions