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

Key presses trigger warning sounds #50

Closed
mkilling opened this issue Jun 7, 2012 · 2 comments
Closed

Key presses trigger warning sounds #50

mkilling opened this issue Jun 7, 2012 · 2 comments

Comments

@mkilling
Copy link

mkilling commented Jun 7, 2012

Every time I press a key in my macgap app, it causes the system to play a warning sound (the same one that is played when you try to navigate past the prompt in a terminal).
My DOM does not have anything which is navigable via key presses, but I registered a few key press handlers via JavaScript. Is this a known problem?

@maccman
Copy link
Contributor

maccman commented Jun 7, 2012

Are you doing e.preventDefault() on the key press?

On Thu, Jun 7, 2012 at 11:10 AM, Marvin Killing <
reply@reply.github.com

wrote:

Every time I press a key in my macgap app, it causes the system to play a
warning sound (the same one that is played when you try to navigate past
the prompt in a terminal).
My DOM does not have anything which is navigable via key presses, but I
registered a few key press handlers via JavaScript. Is this a known problem?


Reply to this email directly or view it on GitHub:
#50

Alex MacCaw

+12147175129
@maccman

http://alexmaccaw.co.uk

@mkilling
Copy link
Author

That fixed it. Thanks.

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