Page MenuHomePhabricator

Hide tooltips on any keypress
ClosedPublic

Authored by epriestley on Mar 12 2014, 1:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 8:52 PM
Unknown Object (File)
Fri, Apr 19, 8:52 PM
Unknown Object (File)
Fri, Apr 19, 7:31 PM
Unknown Object (File)
Tue, Apr 16, 2:03 PM
Unknown Object (File)
Thu, Apr 11, 7:44 AM
Unknown Object (File)
Sat, Mar 30, 7:00 PM
Unknown Object (File)
Mar 24 2024, 5:34 PM
Unknown Object (File)
Mar 24 2024, 11:43 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).