Skip to content

USelectMenu component: Cannot open dropdown with "ArrowDown" key #5082

@harleyka

Description

@harleyka

Environment

Is this bug related to Nuxt or Vue?

Nuxt

Package

v3.x

Version

v4.0.0

Reproduction

https://codesandbox.io/p/devbox/new-frog-m4rh4c?workspaceId=ws_KdyD2hrF3hsKM88tUwW5Sb

Description

Description

I've encountered an issue with the USelectMenu component where the dropdown does not open when pressing the "ArrowDown" key.

Steps to Reproduce

  1. Create an instance of the USelectMenu component.
  2. Focus the input field of the USelectMenu.
  3. Press the "ArrowDown" key on the keyboard.

Expected Behavior

The dropdown menu should open, similar to how the USelect component behaves.

Actual Behavior

The "ArrowDown" key does not trigger the dropdown to open. It's necessary to click on the input field to open the menu or use "Enter" key.

Environment

  • Nuxt UI version: 3.1.1
  • Nuxt version: 3.19.0
  • Browser: Chrome 140.0.7339.208
  • OS: macOS 14.6.1

Additional Information

This behavior is specific to USelectMenu. I have tested the same action with the USelect component, and it correctly opens the dropdown with the "ArrowDown" key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAwaiting initial review and prioritizationv3#1289

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions