vuesax-next
vuesax-next copied to clipboard
Do not insert if tooltip is not a valid HTMLElement
Pretty similar to line 88. Fixes flicker tooltip error (see below) Also Fixes #128
Flicker tooltip error:
Encountered with this error randomly so many times. Couldn't figure out what was wrong at first.
What steps will reproduce the issue? I moved my cursor around tooltip object like crazy and managed to overlap two events.
What causes this to happen? Tooltip removing is triggered instantly, yet insertTooltip is waiting for this.$nextTick. If tooltip is removed before insertTooltip, it emits an error.
How to fix? Just look if tooltip is defined or not.