Page MenuHomePhabricator

Hide tooltips on any keypress
ClosedPublic

Authored by epriestley on Mar 12 2014, 1:30 PM.
Tags
None
Referenced Files
F19842623: D8497.id20174.diff
Mar 11 2026, 10:29 PM
F19828709: D8497.diff
Mar 9 2026, 8:53 PM
F19821260: D8497.diff
Mar 6 2026, 8:18 PM
F19786234: D8497.id.diff
Feb 25 2026, 7:06 AM
F19593459: D8497.id20174.diff
Feb 2 2026, 4:27 PM
F19593455: D8497.id20163.diff
Feb 2 2026, 4:27 PM
F19506300: D8497.id20174.diff
Jan 9 2026, 4:44 PM
F19468743: D8497.id20163.diff
Jan 4 2026, 9:31 AM

Details

Summary

Fixes T4586, where a keystroke like "return" to submit a form could remove DOM nodes rendering a tooltip, leaving the user with a permanent phantom tooltip.

(@spicyj, if you come up with anything better than this feel free to send a followup, but I think this is a reasonable fix.)

A nice side effect of this is that it hides any tooltips obscuring a text input when you start typing.

Test Plan

Hovered over a tooltip, pressed a key, tip vanished.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Hide tooltips on any keypress.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: btrahan, sophiebits.
epriestley added a subscriber: sophiebits.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Mar 12 2014, 4:19 PM
epriestley updated this revision to Diff 20174.

Closed by commit rP82aeb59ecf9e (authored by @epriestley).