fix: tooltip error when hovering while closing detailed match

This commit is contained in:
Valentin Kaelin 2020-06-11 22:46:47 +02:00
parent 53864c6c37
commit 7dcad4e292

View file

@ -85,6 +85,11 @@ export default {
this.top = event.clientY this.top = event.clientY
if (!this.directionChecked) { if (!this.directionChecked) {
// Component has been destroyed
if (!this.$refs.content || !this.$refs.trigger) {
return
}
await this.$nextTick() await this.$nextTick()
this.checkTooltipVisibility() this.checkTooltipVisibility()
} }