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

Add useCapture capability #400

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

chabou
Copy link

@chabou chabou commented Oct 29, 2017

It could be convenient to intercept keyEvents on capturing phase and not bubbling one. (I need it for Hyper to capture and flag key events BEFORE they reach embedded Terminal).

If you are ok with this feature, I can add documentation.

@Stanzilla
Copy link

@ccampbell any news here?

@nbelzer
Copy link

nbelzer commented Mar 26, 2020

I would like to see this behaviour implemented as well, what is required to get this merged? Perhaps I could help out.

nbelzer added a commit to nbelzer/vimari that referenced this pull request Mar 26, 2020
To be able to stop the propagation of events to the website but still
capture them in Vimary we need to listen to the keyEvents using the
onCapture flag. Something that has not yet been implemented in
Mousetrap (see ccampbell/mousetrap#400).
@Stanzilla
Copy link

@ccampbell friendly ping :)

nbelzer added a commit to televator-apps/vimari that referenced this pull request Jul 27, 2020
To be able to stop the propagation of events to the website but still
capture them in Vimari we need to listen to the keyEvents using the
onCapture flag. Something that has not yet been implemented in
Mousetrap (see ccampbell/mousetrap#400).
@asabaylus
Copy link

@ccampbell any chance you can get this merged?

@Stanzilla
Copy link

@ccampbell friendly ping again, would really love to stop using a fork :)

@asabaylus
Copy link

@ccampbell any chance of a new version?

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

Successfully merging this pull request may close these issues.

4 participants