Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
285 stars 76 forks source link

[Tooltip] When cursor moves from invoking Tooltip element to iFrame, Tooltip is not dismissed #8318

Closed macandcheese closed 9 months ago

macandcheese commented 10 months ago

Check existing issues

Actual Behavior

If you invoke a Tooltip via mouse, and the next element the mouse moves on to is an iFrame, the Tooltip will not dismiss until the cursor moves back to the document (or a key event occurs to close).

Expected Behavior

I'd expect the Tooltip to dismiss when the cursor moves from the invoking element to any adjacent element, even an iFrame.

Reproduction Sample

-

Reproduction Steps

-

Reproduction Version

-

Relevant Info

Breakout from: https://github.com/Esri/calcite-design-system/issues/8156 cc @driskull

Regression?

No response

Priority impact

p4 - not time sensitive

Impact

No response

Calcite package

Esri team

N/A

driskull commented 10 months ago

The problem is that iframes do not bubble up mouse/pointer events.

I'm not sure if or how we can support this. Any ideas @jcfranco?

geospatialem commented 9 months ago

This would be up to the developer to implement, as a listener on the iframe, and outside the scope of CC.