Opened 10 years ago

Closed 4 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 10 years ago by bill

Summary: Menu appears in wrong position when attached to an iframe's nodeMenu: appears in wrong position when attached to an node inside of an iframe

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.

comment:2 Changed 10 years ago by bill

Milestone: tbdfuture

comment:3 Changed 7 years ago by bill

Priority: highlow
Type: defectenhancement

comment:4 Changed 4 years ago by dylan

Milestone: future1.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 4 years ago by dylan

Resolution: patchwelcome
Status: newclosed
Note: See TracTickets for help on using tickets.