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

fix(Listbox): handle currentElement not in dom on focusout #1399

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

vojvodics
Copy link
Contributor

Because nextTick is added in #1331, if the listbox component gets removed from the dom, an error occurs.

Link to repro: https://stackblitz.com/edit/7jpwyi-yem3zd?file=src%2FApp.vue - checkout the logs in the console

@zernonia zernonia merged commit eb4b1c4 into unovue:main Oct 30, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants