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

Firefox behaviour with keypress events #9

Open
xiaohutai opened this issue Jul 24, 2017 · 0 comments
Open

Firefox behaviour with keypress events #9

xiaohutai opened this issue Jul 24, 2017 · 0 comments

Comments

@xiaohutai
Copy link

I know that this is an old library, but for those who are still using this: Firefox will fire the start (and stop) events even if you use the navigation keys; other browser don't do this.

In order to fix this issue. On https://github.com/narfdotpl/jquery-typing/blob/master/plugin/jquery.typing-0.2.0.js#L65, change:

-$elem.keypress(startTyping);
+$elem.on('input', startTyping);

Sources:

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

1 participant