Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Opening Popover with empty Listbox causes TypeError: Cannot read properties of undefined (reading 'focus') #1224

Closed
MellKam opened this issue Aug 14, 2024 · 0 comments · Fixed by #1238
Assignees
Labels
bug Something isn't working

Comments

@MellKam
Copy link
Collaborator

MellKam commented Aug 14, 2024

Environment

Radix Vue version: 1.9.4
Vue version: 3.4.37

Link to minimal reproduction

https://stackblitz.com/edit/ryqglz-wexpcy?file=src%2FApp.vue

Steps to reproduce

In my case, I need to wait for my data to be requested to display the items, so there are no items in the listbox at first. This leads to the following error: TypeError: Cannot read properties of undefined (reading 'focus').

Screen.Recording.2024-08-14.141401.mp4
@MellKam MellKam added the bug Something isn't working label Aug 14, 2024
@MellKam MellKam changed the title [Bug]: Empty Listbox causes TypeError: Cannot read properties of undefined (reading 'focus') [Bug]: Opening Popover with empty Listbox causes TypeError: Cannot read properties of undefined (reading 'focus') Aug 14, 2024
@zernonia zernonia self-assigned this Aug 20, 2024
@zernonia zernonia linked a pull request Aug 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants