Opened 14 years ago

Closed 14 years ago

#6745 closed enhancement (duplicate)

event.button normalization in dojo.fixEvent

Reported by: guest Owned by: anonymous
Priority: high Milestone:
Component: Events Version: 1.1.0
Keywords: Cc:
Blocked By: Blocking:


In dojo.fixEvent, there should be some code that normalizes the 'button' property.

In most browsers, this is the case: 0 - left mouse button 1 - middle mouse button 2 - right mouse button

However, in IE it is different: 1 - left mouse button 2 - right mouse button 4 - middle mouse button

Also, Gecko treats Ctrl–Click as a right click, so it's value is 2.

Change History (1)

comment:1 Changed 14 years ago by bill

Component: GeneralEvents
Resolution: duplicate
Status: newclosed

I agree, this would be nice. Dup of #3740.

Note: See TracTickets for help on using tickets.