@brightspace-ui/core
Advanced tools
@@ -32,3 +32,3 @@ import { clearDismissible, setDismissible } from '../../helpers/dismissible.js'; | ||
/* once a user shows a tooltip, ignore delay if they hover adjacent target within this timeout */ | ||
/* once a user closes a tooltip, ignore delay if they hover adjacent target within this timeout */ | ||
let delayTimeoutId; | ||
@@ -39,2 +39,3 @@ const resetDelayTimeout = () => { | ||
}; | ||
/* ignore delay if user hovers adjacent target when a tooltip is already open */ | ||
const getDelay = delay => { | ||
@@ -852,3 +853,2 @@ if (delayTimeoutId) return 0; | ||
resetDelayTimeout(); | ||
this._isHovering = true; | ||
@@ -931,2 +931,3 @@ this._updateShowing(); | ||
if (dispatch) { | ||
resetDelayTimeout(); | ||
this.dispatchEvent(new CustomEvent( | ||
@@ -933,0 +934,0 @@ 'd2l-tooltip-hide', { bubbles: true, composed: true } |
{ | ||
"name": "@brightspace-ui/core", | ||
"version": "3.81.0", | ||
"version": "3.81.1", | ||
"description": "A collection of accessible, free, open-source web components for building Brightspace applications", | ||
@@ -5,0 +5,0 @@ "type": "module", |
6089752
067280
0