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)
Wed, May 21, 7:36 PM
Unknown Object (File)
Apr 22 2025, 11:31 PM
Unknown Object (File)
Apr 21 2025, 7:56 PM
Unknown Object (File)
Apr 21 2025, 9:26 AM
Unknown Object (File)
Apr 21 2025, 9:11 AM
Unknown Object (File)
Apr 20 2025, 7:19 PM
Unknown Object (File)
Apr 10 2025, 8:18 AM
Unknown Object (File)
Apr 5 2025, 11:02 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).