Skip to content

Firefox behaviour with keypress events #9

@xiaohutai

Description

@xiaohutai

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions