Skip to content

unable to use keyboard navigation on dropdown opened via mouse click #3955

@christianvogt

Description

@christianvogt

Describe the issue. What is the expected and unexpected behavior?
When using keyboard navigation to open a Dropdown menu, then first item gets selected and navigation within the dropdown menu can be done using the up and down arrow keys.

This same behavior isn't present when the Dropdown menu is opened via mouse click.

Expect Dropdown menu to behave similar to default browser select menus:
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select

Please provide the steps to reproduce. Feel free to link CodeSandbox or another tool.
https://patternfly-react.surge.sh/documentation/react/components/dropdown
Same experience with the Select component:
https://patternfly-react.surge.sh/documentation/react/components/select

  • Click a Dropdown menu and press arrow keys. No navigation.
  • Select a Dropdown menu and press enter key. Navigation of the menu is enabled.

Is this a bug or enhancement? If this issue is a bug, is this issue blocking you or is there a work-around?
Bug

What is your product and what release version are you targeting?
OpenShift Console

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