-
Notifications
You must be signed in to change notification settings - Fork 74
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
select/suggestion-click events not working from the first click only after second #353
Comments
Okay, I probably found what causes the issue but not sure how to solve it... The issue is because the inner input has Small code snippet
when I remove FYI: when I'm trying to select an item from the suggestions list for the third time, fourth time and so, all the time it triggering |
I'm submitting a ...
What is the current behavior?
select
/suggestion-click
not firing on the first click on list element, only after selecting the element second timeIf the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
here is the element template:
Here is the actual js:
What is the expected behavior?
It should trigger
getCity
method after I select some element from the listHow are you importing Vue-simple-suggest?
import VueSimpleSuggest from 'vue-simple-suggest/lib'
)import VueSimpleSuggest from 'vue-simple-suggest'
)import VueSimpleSuggest from 'vue-simple-suggest/dist/es7'
)import VueSimpleSuggest from 'vue-simple-suggest'
)const VueSimpleSuggest = require('vue-simple-suggest')
)<script type="text/javascript" src="https://unpkg.com/vue-simple-suggest"></script>
)Please tell us about your environment:
Here is the small video I recorded to show the issue https://drive.google.com/file/d/1z6WtRK8-BMxe2GyLphD-u7Zf8fUolQlg/view?usp=sharing
The text was updated successfully, but these errors were encountered: