Trigger 'manual' doesn't work
See original GitHub issueI’ve been trying to implement vue-tippy with a manual trigger (as tippy docs suggest), by passing trigger:‘manual’. The open on click is actually disabled in the button, but when I try to call show() method nothing happens.
<button class="e-btn--ghost" ref="buttonSaveTrip" @click="saveTrip" v-tippy="{ trigger: 'manual', html: '#saveTrip', interactive: true, arrow: true, boundary: true, distance: '15', theme: 'light', inertia: true, reactive : true, offset: 70}"> Save trip </button>
And then calling show():
saveTrip() { this.$refs['buttonSaveTrip']._tippy.show(); }
Although, if the trigger is ‘click’, I can call _tippy.hide() from any other element and it works.
Any idea of what can be causing the issue? Maybe tippy.js?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
In my project I’ve tried that solution but it didn’t fix it, when I debug it, it shows it and hides it straight away.
If you need any more help, feel free to reopen the issue