Skip to content

[Bug]: Combobox hangs the page on "Tab" navigation when more than one component is on the page #2280

@Perdolique

Description

@Perdolique

Environment

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  npmPackages:
    @vitejs/plugin-vue: ^6.0.1 => 6.0.1 
    reka-ui: ^2.6.0 => 2.6.0 
    vite: ^7.2.2 => 7.2.2 
    vue: ^3.5.24 => 3.5.24

Link to minimal reproduction

https://stackblitz.com/edit/reka-ui-combobox-freeze?file=src%2FApp.vue

Steps to reproduce

  1. Add two or more Combobox components on the page with open-on-focus.
  2. Navigate between them using Tab.

Describe the bug

Page hangs completely after Tab navigation between two Combobox components with open-on-focus property enabled.

Expected behavior

Focus should be set to the next focusable element, or at least the focus should be trapped in the opened items list. The whole page shouldn't die.

Context & Screenshots (if applicable)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions