I’m writing an app where I have a html-canvas and render items on that canvas. The problem I ran into was that if I added a context menu to both the items and the canvas. The problem was that I kept getting the menu for the canvas and not the items. A little debugging in firefox explained why: I only need to prevent event bubbling in order to to bind layers of html. Looking into it further there is a link on Cory’s page to a different context menu with a more approriate api.
Comments or errors? Fork post and do a pull request on github