@click.native works only first time
Version
3.2.26
Reproduction link
Steps to reproduce
- click in the dropdown
- select an item
- 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
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.
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
here you go: https://github.com/oswaldofreitas/vue-compat-issue