vaadin / web-components

A set of high-quality standards based web components for enterprise web applications. Part of Vaadin 20+
https://vaadin.com/docs/latest/components
470 stars 83 forks source link

fix: close tooltip immediately on global mousedown event #8193

Closed web-padawan closed 1 day ago

web-padawan commented 2 days ago

Description

Fixes https://github.com/vaadin/flow-components/issues/6836

Changed the logic of the tooltip to make sure it closes immediately on any mousedown event, not just the on target. This ensures that tooltip with hide delay does not interfere with opening logic of vaadin-dialog overlay.

Type of change

sonarcloud[bot] commented 1 day ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

web-padawan commented 1 day ago

Closing in favor of #8198. We can consider reopening if we find some more edge cases where this would be needed.