Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google steals focus #1

Closed
guyht opened this issue Nov 15, 2010 · 2 comments
Closed

Google steals focus #1

guyht opened this issue Nov 15, 2010 · 2 comments
Labels

Comments

@guyht
Copy link
Collaborator

guyht commented Nov 15, 2010

Need to stop google and other sites stealing focus on page load.

This can be achieved by moving the vimari event listener to be the first in the queue and then stop the event propagation.

@guyht
Copy link
Collaborator Author

guyht commented Nov 16, 2010

Events are now captured before the browser page is allowed to capture, but this is still not perfect.

Need better definition between inert and non insert mode.

  • If insert mode - we do nothing.
  • If ESC pressed - force focus away form selected node and enter insert mode. While in insert mode, stop propagation of all key events.
  • Insert mode is re-entered if a) insert mode key is pressed, or b) if an editable node is selected. Therefore we need to change to see if an editable node has gained focus.

@guyht
Copy link
Collaborator Author

guyht commented Aug 1, 2011

This is now fixed as CTRL-f is used for link hint mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant