codexly-ui 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2321,6 +2321,11 @@ class ClxTooltipDirective {
2321
2321
  host.addEventListener('mouseleave', () => this._scheduleHide(), { signal });
2322
2322
  host.addEventListener('focus', () => this._scheduleShow(), { signal });
2323
2323
  host.addEventListener('blur', () => this._scheduleHide(), { signal });
2324
+ // Touch devices fire 'mouseenter'/'focus' on tap but never a real
2325
+ // 'mouseleave' — hide immediately once the tap completes instead of
2326
+ // leaving the bubble stuck until the next unrelated touch.
2327
+ host.addEventListener('touchend', () => this._hide(), { signal });
2328
+ host.addEventListener('touchcancel', () => this._hide(), { signal });
2324
2329
  this._destroyRef.onDestroy(() => {
2325
2330
  this._destroyed = true;
2326
2331
  this._abort.abort();