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.
Details
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
ctrl-f/ctrl-d/ctrl-tab, ctrl-click-outside-of-window, and move mouse over the content - see no help suggestions.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
(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).