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

Mousetrap global-bind plugin integration #7

Open
drosboro opened this issue Nov 25, 2017 · 2 comments
Open

Mousetrap global-bind plugin integration #7

drosboro opened this issue Nov 25, 2017 · 2 comments

Comments

@drosboro
Copy link

It would be great to have the "global-bind" plugin / methods available within react-mousetrap, so that something like this.props.globalBindShortcut('right', this._goToNext) would provide mousetrap bindings that work within input fields.

@drosboro
Copy link
Author

I've just created pull request #8 with a basic (and seemingly working) implementation.

@mdr
Copy link

mdr commented Sep 26, 2018

We had a need for this too -- wondered if @alvinsj had any thoughts on the PR?

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

No branches or pull requests

2 participants