You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to get @click listeners to work within misc-item-* slots. When clicking there it just closes the list.
I've tried @click.stop and prevent here also.
I've got around it by using hacky @focus.stop="myMethod" instead.
Is there a way to listen to clicks within misc-item slots?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
What is the motivation / use case for changing the behavior?
I'm using vue-simple-suggest to search addresses (similar to google maps autocomplete). If an address can't be found after a few keystrokes I need show an option to switch to a manual address input form.
Please tell us about your environment:
Vue.js Version: 2.6.11
Vue-simple-suggest version: 1.10.4
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
The text was updated successfully, but these errors were encountered:
I'm submitting a ...
What is the current behavior?
Unable to get
@click
listeners to work withinmisc-item-*
slots. When clicking there it just closes the list.I've tried
@click.stop
and prevent here also.I've got around it by using hacky
@focus.stop="myMethod"
instead.Is there a way to listen to clicks within misc-item slots?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
What is the expected behavior?
Click handler should fire. List closing etc. can be done in handler.
How 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>
)What is the motivation / use case for changing the behavior?
I'm using vue-simple-suggest to search addresses (similar to google maps autocomplete). If an address can't be found after a few keystrokes I need show an option to switch to a manual address input form.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: