Page MenuHomePhabricator

lose help cursor on blur
ClosedPublic

Authored by avivey on Jun 12 2015, 4:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 3:31 AM
Unknown Object (File)
Tue, Apr 2, 9:00 AM
Unknown Object (File)
Feb 24 2024, 8:26 AM
Unknown Object (File)
Jan 30 2024, 7:42 AM
Unknown Object (File)
Dec 27 2023, 6:26 AM
Unknown Object (File)
Dec 21 2023, 1:35 PM
Unknown Object (File)
Dec 12 2023, 2:28 AM
Unknown Object (File)
Dec 5 2023, 1:30 AM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Maniphest Tasks
T8501: Cursor stuck in 'help' mode after Ctrl+F
Commits
Restricted Diffusion Commit
rP960a574dd538: lose help cursor on blur
Summary

Fixes T8501.
When losing focus while holding ctrl, we never get a key-up event; ctrl-f/d/tab make the browser tab lose focus.
So treat 'blur' (unfocus) as if the user released ctrl.

Test Plan

ctrl-f/ctrl-d/ctrl-tab, ctrl-click-outside-of-window, and move mouse over the content - see no help suggestions.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

avivey retitled this revision from to lose help cursor on blur.
avivey updated this object.
avivey edited the test plan for this revision. (Show Details)

(I've only tested this on windows chrome/ie for now. It appears that when changing the cursor property on windows, we need to move the mouse a bit for it to take effect).

epriestley added a reviewer: epriestley.
epriestley added inline comments.
webroot/rsrc/js/application/repository/repository-crossreference.js
132

(When passing a single value, x and [x] are equivalent.)

143

Odd no-op parens.

This revision is now accepted and ready to land.Aug 27 2015, 11:15 AM
This revision was automatically updated to reflect the committed changes.