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)
Fri, Dec 20, 7:08 AM
Unknown Object (File)
Fri, Dec 20, 2:55 AM
Unknown Object (File)
Fri, Dec 20, 1:48 AM
Unknown Object (File)
Wed, Dec 18, 12:49 PM
Unknown Object (File)
Fri, Dec 13, 2:55 AM
Unknown Object (File)
Nov 22 2024, 1:19 AM
Unknown Object (File)
Nov 22 2024, 1:19 AM
Unknown Object (File)
Nov 22 2024, 1:18 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.