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

@click.native works only first time #5222

Closed
oswaldofreitas opened this issue Jan 7, 2022 · 3 comments · Fixed by #5228
Closed

@click.native works only first time #5222

oswaldofreitas opened this issue Jan 7, 2022 · 3 comments · Fixed by #5228

Comments

@oswaldofreitas
Copy link

Version

3.2.26

Reproduction link

replit.com

Steps to reproduce

  1. click in the dropdown
  2. select an item
  3. click in the dropdown again

What is expected?

the dropdown should open again in the 2nd time

What is actually happening?

the dropdown doesn't open


When the input event is emitted from the form-dropdown component the event listener for the click event doesn't work anymore. I suppose it's a bug with the vue compat handling the .native modifier

@LinusBorg
Copy link
Member

Can your provide this as a repository? I can neither edit nor download that code without registering for this service which I don't use.

@oswaldofreitas
Copy link
Author

sure, I can do it. I used that service since it's one of the suggested in the Vue 3 official docs and it was really hard to find one that I could setup the vue compat plugin. I'll create a repo for it now and share as soon as I get it.

Before sharing that link here I tested in incognito and it worked for me (without registering), you can click in the play button to run and in the "Show files" to see the code

@oswaldofreitas
Copy link
Author

here you go: https://github.com/oswaldofreitas/vue-compat-issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants