View Full Version : [3.x] Inconsistent click event firing in certain cases

29 Dec 2010, 1:34 AM
In FF and IE, the mouse click event fires inconsistently in some cases. Try the following:

1. Open the Ext example browser. http://dev.sencha.com/deploy/dev/examples/
2. Run "Ext.getBody().on('click', function(){console.log('click')});" in the console.
2. Click somewhere, hold the mouse and release the button on another element.

In IE, a click event always seems to fire.
In FF, it only seems to count as a click event when the mouse button is released on the same element...?

Any thoughts on why this happens?