vuesax-next icon indicating copy to clipboard operation
vuesax-next copied to clipboard

Do not insert if tooltip is not a valid HTMLElement

Open atagulalan opened this issue 3 years ago • 0 comments

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.

atagulalan avatar Mar 05 '21 20:03 atagulalan