Side navigation
#13209 closed bug (notabug)
Opened January 14, 2013 08:13PM UTC
Closed January 15, 2013 11:13PM UTC
IE8: event.which for a left mouse click is 0, should be 1
Reported by: | gavinwahl | Owned by: | gavinwahl |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In IE8, event.which
for a left mouse click is 0. It should be 1. (http://api.jquery.com/event.which/)
Here is a test case:
In IE8, it reports: event.which == 0, should be 1
.
In chrome and firefox, it reports: event.which == 1, should be 1
.
Attachments (0)
Change History (3)
Changed January 14, 2013 10:32PM UTC by comment:1
owner: | → gavinwahl |
---|---|
status: | new → pending |
Changed January 15, 2013 07:14PM UTC by comment:2
status: | pending → new |
---|
Yes, mouseup/mousedown do have event.which == 1
. It seems like click should be normalized too though. Is there some reason I'm missing for only normalizing mouseup/down?
Changed January 15, 2013 11:13PM UTC by comment:3
resolution: | → notabug |
---|---|
status: | new → closed |
That data isn't available in IE8. Since the docs are clear, I'll close the ticket.
The docs seem very clear that only mousedown and mouse up are normalized. Can you confirm?