diff options
author | Ryan Berliner <ryan.berliner@gmail.com> | 2021-03-06 04:35:28 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2021-03-16 08:48:50 +0300 |
commit | d491c29aa005177ef148c40d4b7b0a3decc7edef (patch) | |
tree | 9c27075749bfc602a36ed239a3e8e75fb3ea5730 /js/src | |
parent | 6ecd1c626e4129daf45a47b44c2e2eae60a09fa3 (diff) |
prevent tooltip from being deleted on quick re-activations
Diffstat (limited to 'js/src')
-rw-r--r-- | js/src/tooltip.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js index 6f33245f8e..e9f9bfff1b 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -329,6 +329,10 @@ class Tooltip extends BaseComponent { const tip = this.getTipElement() const complete = () => { + if (this._isWithActiveTrigger()) { + return + } + if (this._hoverState !== HOVER_STATE_SHOW && tip.parentNode) { tip.parentNode.removeChild(tip) } |