[dojo-contributors] Buttons firing two click events for each tap

Bryan Forbes bryan at reigndropsfall.net
Fri Jun 29 15:20:29 EDT 2012

I was wondering why dijit/form/Button is firing two click events for
longer taps on iOS (I haven't tested Android). I have an example:


It seems that really fast taps don't have this problem, however longer
ones do. This really rears its ugly head when long-tapping on
dijit/form/ToggleButton: the state of the toggle button doesn't change
because two clicks are fired which both toggle its state.

Bryan Forbes

GPG Fingerprint
3D7D B728 713A BB7B B8B1  5B61 3888 17E0 70CA 0F3D

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
Url : http://mail.dojotoolkit.org/pipermail/dojo-contributors/attachments/20120629/67d570f5/attachment.sig 

More information about the dojo-contributors mailing list