Ticket #6745 (closed enhancement: duplicate)

Opened 7 months ago

Last modified 7 months ago

event.button normalization in dojo.fixEvent

Reported by: guest Owned by: anonymous
Priority: normal Milestone:
Component: Events Version: 1.1.0
Severity: normal Keywords:
Cc:

Description

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

Changed 7 months ago by bill

  • status changed from new to closed
  • resolution set to duplicate
  • component changed from General to Events

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

Note: See TracTickets for help on using tickets.