#18527 closed defect (duplicate)
Wrong Internet Explorer click event in dijit.tree with popup dijit.Menu
Reported by: | mvillafranca | Owned by: | bill |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | Dijit | Version: | 1.10.4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Dear Dojo team, i have found what i suspect is a bug:
If you create a dijit.Tree (the data source seems irrelevant from my tests)
Then create a dijit.Menu and associate it to the tree, so that it will come up on right clicks.
Then register a click listener on the tree, so that some action will be performed when the user left-clicks the tree.
In chrome and FF (current versions), the click handler will be triggered on left clicks, and the menu will come up on right clicks (correct)
In Explorer (at least in IE 11), the click handler is triggered on left clicks. The right click, however, brings up the context menu and triggers the click handler, reporting a left click.
I know it's confusing, code to reproduce here: https://jsfiddle.net/ujx74a4r/
Attachments (1)
Change History (3)
comment:1 Changed 6 years ago by
comment:2 Changed 6 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #18342.
Already fixed if you get the latest version of dojo core, by https://github.com/dojo/dojo/commit/bce517831e71c23f53e51c387f3f7b8bfa00d843.
Update: I have verified that this does not happen when you activate IE9 emulation mode in IE11. It does happen in Edge and IE10 mode