This commit is contained in:
Vadim Kazakov 2025-05-02 08:45:45 +00:00 committed by GitHub
commit 78b281880f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 0 deletions

View File

@ -227,6 +227,11 @@ class Tooltip extends BaseComponent {
}
const complete = () => {
// component disposed
if (!this._element) {
return
}
EventHandler.trigger(this._element, this.constructor.eventName(EVENT_SHOWN))
if (this._isHovered === false) {
@ -266,6 +271,11 @@ class Tooltip extends BaseComponent {
this._isHovered = null // it is a trick to support manual triggering
const complete = () => {
// component disposed
if (!this._element) {
return
}
if (this._isWithActiveTrigger()) {
return
}