Tooltip: support clicking on a tooltip when a reference element is focused. #9827
Closed
2 of 6 tasks
Labels
4 - verified
Issues that have been released and confirmed resolved.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 5
A few days of work, definitely requires updates to tests.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
p - low
Issue is non core or affecting less that 10% of people using the library
Milestone
Check existing issues
Actual Behavior
The issue is that when you are focused on a reference element and then click on a tooltip, the onfocusout is fired which closes the open tooltip before the click can occur.
We should have a solution to allow for the tooltip to be clicked and not closed
Expected Behavior
When focusing a reference element and then clicking a tooltip, the tooltip should not close.
Reproduction Sample
https://codepen.io/driskull/pen/RwzRKmb?editors=1000
Reproduction Steps
Reproduction Version
2.10.0
Relevant Info
Notes: it works if just hovering the reference element and clicking the tooltip.
Basically, the focusout and click are fighting each other in this scenario
Regression?
No response
Priority impact
impact - p3 - not time sensitive
Impact
No response
Calcite package
Esri team
N/A
The text was updated successfully, but these errors were encountered: