fix(dashboard): keep tooltips open for text selection - #1189
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 811d7c2. Configure here.
| onMouseLeave={() => { | ||
| tooltipHoveredRef.current = false; | ||
| scheduleTooltipClose(); | ||
| }} |
There was a problem hiding this comment.
Selection drag dismisses open tooltips
Low Severity
Tooltip leave handlers clear the hover ref and schedule close as soon as the pointer exits the surface. A drag-select that briefly leaves the bounds therefore dismisses the tooltip after the grace period and drops the selection, which undercuts selecting longer cost or usage breakdown text.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 811d7c2. Configure here.


Dashboard tooltips now stay open as the pointer moves from the trigger into their content, so cost and usage breakdown text can be selected. Both metric tooltips and the shared chart tooltip accept pointer input and coordinate trigger focus or hover with tooltip hover through a short close grace period.
Previously, tooltip content disabled pointer events and the surface closed immediately when the trigger was left. Browser regression coverage now enters the conversation cost tooltip, selects a cost value, and verifies that the tooltip remains visible; visual QA against the mock conversation dashboard showed the selected state without clipping or layout changes.