Skip to content

[EuiSuggest] keyboard navigation issues #4345

Closed

Description

@alexwizp

During real-world testing of this component, we found a couple of keyboard issues that should probably be addressed on the component side

  • We should keep focus on input component after selecting something from the suggestions list.
    test case:
    1. start typing to open a list of suggestions
    2. press Tab to select first item from the list
    3. press Enter to apply suggestion.
    4. continue typing

Screen Recording 2020-12-04 at 12 34 21 PM

Expected behavior: Focus should be on Input control. User should be able to continue typing

  • In case of no suggestions we need don't need to set focus on empty list
    1. fill control with text without suggestions
    2. press Tab button

Screen Recording 2020-12-04 at 12 42 52 PM

Expected behavior: Focus should be on next form control. It's probably true, but if I select somewhere in form focus returned back to EuiSuggest.

Activity

  1. thompsongl commented on Dec 7, 2020

    @thompsongl
    Contributor

    #4302 and #3733 discuss this more completely, but we are tracking that EuiSuggest will be refactored in the future.

  2. ryankeairns commented on Jan 19, 2021

    @ryankeairns
    Contributor

    FYI, the EuiSuggest component is being used in this PR, so this issue resurfaced.

  3. github-actions commented on Jul 19, 2021

    @github-actions

    👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

  4. added
    stale-issue
    on Jul 19, 2021
  5. added and removed
    stale-issue
    on Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions