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

Command pallet show undefined when lose focus after typing #1340

Closed
misbahansori opened this issue Sep 29, 2022 · 2 comments
Closed

Command pallet show undefined when lose focus after typing #1340

misbahansori opened this issue Sep 29, 2022 · 2 comments
Assignees

Comments

@misbahansori
Copy link

JS Library
"@headlessui/vue": "^1.7.2"

What component (if applicable)

Describe the bug
When you lose focus after typing, the input displays "undefined."

Repo
https://github.com/misbahansori/vite-project

To Reproduce
Steps to reproduce the behavior:

  1. localhost:5137
  2. type anything on the search input
  3. press escape
  4. you will see "undefined" in the search input

Expected behavior
I should close the modal and clear the input

Screenshots
Screen Shot 2022-09-29 at 11 47 17

Browser/Device (if applicable)

  • OS: IOS
  • Browser Chrome
  • Version 106.0
@thecrypticace
Copy link

thecrypticace commented Sep 29, 2022

Hey! This one is caused by a Vue bug 😅 — we merged a workaround for this a bit ago which you can test with our insiders build if you want: npm install @headlessui/vue@insiders.

I'll see if we can get a tagged release out tomorrow with this and some other fixes! I'll leave this issue open until we've done the release.

@thecrypticace
Copy link

We've released @headlessui/[email protected] which fixes this bug which you can install by doing: npm install @headlessui/vue@latest. Thanks for reporting it!

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

No branches or pull requests

2 participants