Opened 15 years ago

Closed 14 years ago

#2317 closed defect (duplicate)

Incorrect position of Menu2 [contextmenu] when inside an Iframe on IE6 and IE7

Reported by: [email protected] Owned by: bill
Priority: high Milestone: 1.1
Component: Dijit Version: 0.4.1
Keywords: iframe menu2 contextmenu internet explorer position Cc:
Blocked By: Blocking:


When creating a contextmenu (Menu2) inside an Iframe with IE6 and IE7, it is positioned incorrectly.

The bug does not happen when using Firefox.

I found that removing the following code, the popup is shown where it should.

[line 310 of Menu2.js]
    var cood = dojo.html.abs(iframe, true);
    x += cood.x - dojo.withGlobal(win, dojo.html.getScroll).left;
    y += cood.y - dojo.withGlobal(win, dojo.html.getScroll).top;

Change History (6)

comment:1 Changed 15 years ago by bill

Component: WidgetsDijit
Milestone: 1.0


All this code has been changed for 0.9 so this may no longer be an issue but please give it a try and let us know.

comment:2 Changed 14 years ago by bill

Milestone: 1.00.9
Resolution: fixed
Status: newclosed

I've removed that code from Menu so I think this is fixed.

comment:3 Changed 14 years ago by guest

Resolution: fixed
Status: closedreopened

This problem still occurs in version 0.9.0 using Firefox; see my post at and the related post. Thank you.

comment:4 Changed 14 years ago by bill

Milestone: 0.91.1

comment:5 Changed 14 years ago by bill

I really need a test case before looking at this. Please attach one to this ticket, or I'll have to close it.

comment:6 Changed 14 years ago by bill

Resolution: duplicate
Status: reopenedclosed

Dup of #4782

Note: See TracTickets for help on using tickets.