Description:
Currently I want to make a tooltip integrated with copy clipboard event.
Inital content data = ''
I want when I click to copy button, tooltip content should appear as Copied (RIGHT AFTER FIRST CLICK). But it doesn't work, it need 2 click to show tooltip content, at first click, the content data was filled but doesn't show up tooltip.
How I want to fix:
It should show up tooltip content at RIGHT FIRST CLICK, then this tooltip hide automatcally after delay time.
Here is reproductive sample.
https://codesandbox.io/s/vue-js-vue-tooltip-example-forked-2r3k5?file=/src/App.vue