You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
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.
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?
The text was updated successfully, but these errors were encountered: