Opened 14 years ago
Closed 13 years ago
#2317 closed defect (duplicate)
Incorrect position of Menu2 [contextmenu] when inside an Iframe on IE6 and IE7
Reported by: | 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: |
Description
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] if(iframe){ 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 14 years ago by
Component: | Widgets → Dijit |
---|---|
Milestone: | → 1.0 |
comment:2 Changed 14 years ago by
Milestone: | 1.0 → 0.9 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I've removed that code from Menu so I think this is fixed.
comment:3 Changed 14 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This problem still occurs in version 0.9.0 using Firefox; see my post at http://dojotoolkit.org/forum/dijit-dijit-0-9/dijit-support/dojo-parent-widgets-iframe-tooltip-contextmenu-etc and the related post. Thank you.
comment:4 Changed 14 years ago by
Milestone: | 0.9 → 1.1 |
---|
comment:5 Changed 13 years ago by
I really need a test case before looking at this. Please attach one to this ticket, or I'll have to close it.
Note: See
TracTickets for help on using
tickets.
Testcase?
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.