Opened 12 years ago
Closed 5 years ago
#9743 closed enhancement (patchwelcome)
Menu: appears in wrong position when attached to an node inside of an iframe
Reported by: | haysmark | Owned by: | bill |
---|---|---|---|
Priority: | low | Milestone: | 1.13 |
Component: | Dijit | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Add this button to the test_Menu_iframe:
<button onclick="dijit.byId('menu').bindDomNode(dojo.byId('iframe').contentDocument.body.firstChild)">attach menu to div inside iframe</button>
Press this button, then right click in the iframe. The menu appears too far to the top left.
Curiously, this button works fine:
<button onclick="dijit.byId('menu').bindDomNode(dojo.byId('iframe').contentDocument.body)">attach menu to body inside iframe</button>
Change History (5)
comment:1 Changed 12 years ago by
Summary: | Menu appears in wrong position when attached to an iframe's node → Menu: appears in wrong position when attached to an node inside of an iframe |
---|
comment:2 Changed 11 years ago by
Milestone: | tbd → future |
---|
comment:3 Changed 8 years ago by
Priority: | high → low |
---|---|
Type: | defect → enhancement |
comment:4 Changed 5 years ago by
Milestone: | future → 1.12 |
---|
Given that no one has shown interest in creating a patch in the past 5+ years, I'm closing this as patchwelcome.
comment:5 Changed 5 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Right, the code is only setup to handle menus on the iframe itself, not on nodes within an iframe. The latter would require more code and it's unclear how much demand (if any) there is to support it.