Side navigation
#15184 closed bug (worksforme)
Opened July 14, 2014 01:59PM UTC
Closed July 17, 2014 02:38PM UTC
Last modified July 17, 2014 05:21PM UTC
IE alt Keyup event not being recognized
Reported by: | crazedmeph | Owned by: | crazedmeph |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | event | Version: | 1.11.1 |
Keywords: | IE Keyup | Cc: | |
Blocked by: | Blocking: |
Description
If you hold alt + any key and let go of that key you will see that key gives a "keyUp event" then let go of alt and the alt keyup event is not fired. Chrome and firefox works perfect. I have used version 1.11.1 and 1.10.1 both are not working on IE.
Steps to test.
1) click fiddle link
2) open console
3) hold alt and press L (or any key)
4) let go of L and see the keyup event
5) let go of alt and make sure the keyup event is fired.
Attachments (0)
Change History (6)
Changed July 16, 2014 07:35PM UTC by comment:1
owner: | → crazedmeph |
---|---|
status: | new → pending |
Changed July 17, 2014 01:36PM UTC by comment:2
status: | pending → new |
---|
It does not work on IE10, I have not tried it on IE11 tho.
Changed July 17, 2014 02:38PM UTC by comment:3
resolution: | → worksforme |
---|---|
status: | new → closed |
Are you testing on Browserstack? I don't see the same results there, even in IE11, probably because some combination of Chrome (the browser I'm hosting on), Flash (the code that remotes the browser), or some other plumbing is blocking Alt-key presses. You can tell they are not getting to jQuery so there isn't much we can do: http://jsfiddle.net/heL9V/3/
Since I did get it to work in native IE11 I'll close this as worksforme, but if you see some situation where jQuery isn't delivering the native event let us know.
Changed July 17, 2014 04:08PM UTC by comment:4
I just used Browserstack. Same results for IE11 and IE10. Are you doing my test steps? If you click alt by itself, you see a keyup and a keydown being fired for the alt key "18" but if you hold the alt key and press another button you will never see the alt key "18" fire a keyup event. (You do see a keydown event) So this appears that the alt key is always being held down. However, chrome does indeed work, chrome and firefox work perfectly. All of IE does not appear to work. Make sure you do my test steps exactly as it says and see if a keyup event (for that key code 18) is being fired.
Changed July 17, 2014 04:10PM UTC by comment:5
Yes I am doing your steps. I don't even see the Alt event when using Browserstack.
Do you see the "native" messages? If not, jQuery is not at fault.
Changed July 17, 2014 05:21PM UTC by comment:6
Ahh I see what you are saying. This is IE issue not JQuery. I did not understand you at first. Ok! Thanks!!
Worksforme in IE11. What version did you mean?
Also note that Alt-key combinations can be "stolen" by the browser or plugins so they may not be seen by your code.