Closed agneym closed 6 years ago
It seems to be because of this function.
showTooltip(show) {
if (show && this.$refs.actions && this.fixedTooltip) {
setTimeout(() => {
this.$refs.actions.forEach((item) => {
if(this.toggle) {
item._tooltip.show();
}
});
},700);
}
}
this.$refs.actions
is undefined
until it is actually triggered for the first time. This makes it an []
Why is this check in place?
It's resolved in your PR #15
Expectation
Fixed tooltip should produce a
fixed
tooltip shown on hoverWhat actually happens
No tooltip is shown first time. From the second time, tooltip is shown.
Steps to reproduce.
:fixed-tooltip
to true.