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

Mobile safari question #3

Open
tablatronix opened this issue May 23, 2013 · 2 comments
Open

Mobile safari question #3

tablatronix opened this issue May 23, 2013 · 2 comments

Comments

@tablatronix
Copy link

I was testing this on mobile safari and noticed there does not seem to be window or document level events for key listeners, for example in the demos, you must focus the input first. Almost all other browsers seems to work fine on document alone with no inputs focused.

Do you know why this is?

@termi
Copy link
Owner

termi commented May 24, 2013

Thanks for pointing that.
Where are lots of browser-level problems with Keyboard Events, most of them is browser bugs. I will do some tests for Safari Mobile and will try to solve some incompatibility.

@tablatronix
Copy link
Author

It is not really a big deal, was trying to find the official developer note on it from apple.
Since ios raises the keyboard when an input has focus, it probably only listens on inputs for keypresses, and the same probably applies to external keyboards.

FYI, i am testing on ipad 1, so I am not on safari 6+. Using an external usb keyboard, not bluetooth. So it might not be an issue, ill test later on a bluetoth kb and ios 6 if i can.

I am using a non keyboard HID usb device, and was wondering why is was not working the same in IOS, looks like ill have to add a special case to my app to use a hidden input focus, to work on ios.

Thought I would mention all this to you tho, since it is an outstanding inconsistency, albeit an edge one.

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