-
-
Notifications
You must be signed in to change notification settings - Fork 378
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
Developement/Production OS: Windows 10 19043.1110
Node version: 16.0.0
Package manager: pnpm@8.6.0
Reka UI version: 2.0.0
Vue version: 3.0.0
Nuxt version: 3.0.0
Nuxt mode: universal
Nuxt target: server
CSS framework: tailwindcss@3.3.3
Client OS: Windows 10 19043.1110
Browser: Chrome 90.0.4430.212
Link to minimal reproduction
https://reka-ui.com/docs/components/listbox#listbox
Steps to reproduce
Open the page
Check the focused element
Describe the bug
Listbox focuses the first item element on mount
Expected behavior
Listbox shouldn't automatically focus any items unless a prop like autofocus
is provided. In a dropdown menu or combobox, this is typically expected. For a listbox that is permanently on the page this causes problems by moving the focus cursor to somewhere unexpected.
Context & Screenshots (if applicable)
No response
kricsleo, jaggy and babyccinokricsleo and babyccino
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working