Skip to content

onSelect not firing in a specific instance when item is selected #408

Closed
@markstickley

Description

@markstickley

Thanks for your work on this project! Really handy, although I ran into this issue:

Repro steps:

  1. Type a few letters and get some options
  2. Press down on the keyboard to select something (not fired yet, that's fine as the user might want to go further down or up again before a final selection). Notice the text in the selection box changes as you move.
  3. Use the mouse to click away from the choices.

Expected: selection remains in text box; onSelect fires
Actual: selection remains in text box; onSelect does NOT fire. But the text is still selected.

If the text box is only for display and you are working with data values underneath this behaviour can break the app.

Cheers!

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