Page MenuHomePhabricator

Hide tooltips on any keypress
ClosedPublic

Authored by epriestley on Mar 12 2014, 1:30 PM.
Tags
None
Referenced Files
F18827385: D8497.id.diff
Fri, Oct 24, 9:48 AM
F18825160: D8497.diff
Thu, Oct 23, 7:57 PM
F18804881: D8497.id20163.diff
Sat, Oct 18, 11:58 AM
F18756620: D8497.diff
Sun, Oct 5, 12:25 PM
F18734669: D8497.id.diff
Tue, Sep 30, 10:59 PM
F18659079: D8497.id.diff
Sep 23 2025, 9:48 AM
F18655574: D8497.diff
Sep 22 2025, 8:16 PM
F18597069: D8497.diff
Sep 13 2025, 2:04 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).