Changes between Version 2 and Version 3 of Ticket #15878, comment 8


Ignore:
Timestamp:
Mar 1, 2013, 5:19:08 AM (9 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15878, comment 8

    v2 v3  
    77Like the a11yclick code, your code has a bug where zooming the page via doubleclick causes an unexpected click event.   Except your bug is presumably worse because it affects doubleclicking anywhere on the page, not just doubleclicking nodes with dijit/a11yclick handlers.   Not an issue for pages where zoom is disabled, but it could be an issue for other pages.
    88
    9 Also, you shouldn't be using dojo/_base/event, it's effectively deprecated.
     9Also, you shouldn't be using dojo/_base/event, it's effectively deprecated.  Pluswhich, dojo/_base/event::stop() calls evt.stopPropagation() but presumably you want to call evtlstopImmediatePropagation(), in case the clicked node itself has a "click" listener registered.