#14144 closed defect (fixed)
Canvas events fire on wrong object
Reported by: | yehuda | Owned by: | Patrick Ruzand |
---|---|---|---|
Priority: | high | Milestone: | 1.7.1 |
Component: | DojoX GFX | Version: | 1.7.0b1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
In some complex graphics scenarios, Canvas events are fired on the wrong object. In the demo below, clicking on the left button triggers the event that is bound to the right button. Further more: Clicking over the blank space between the buttons also triggers the event on the right button. If djConfig is changed to "gfxRenderer:'svg,canvas'" everything works fine. The issue can be seen on Android 2.x, desktop Safari, Firefox and Chrome.
The two versions are available for online testing here:
http://yehudab.com/apps/dojo/dojo-release-1.7.0rc1-src/dojox/gfx/demos/events-canvas.html
http://yehudab.com/apps/dojo/dojo-release-1.7.0rc1-src/dojox/gfx/demos/events-svg.html
Code is also available in the attached file
Attachments (2)
Change History (10)
Changed 9 years ago by
Attachment: | events-canvas.html added |
---|
comment:1 Changed 9 years ago by
Owner: | changed from Eugene Lazutkin to Patrick Ruzand |
---|
Changed 9 years ago by
Attachment: | 14144.patch added |
---|
Will commit the fix once the trunk will be reopen. Meanwhile, here's a patch (pruzand, CCLA) that fixes the issue.
comment:2 Changed 9 years ago by
Status: | new → assigned |
---|
comment:3 Changed 9 years ago by
Milestone: | tbd → 1.7.1 |
---|
Minimal test case