Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: EE-3.2.0.GA
-
Fix Version/s: 3.3
-
Component/s: ACE-Components
-
Labels:None
-
Environment:IE7
Tomcat 7
-
Assignee Priority:P2
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration
Description
Run the attached war file in Tomcat 7. In IE7, you will see the ace:menuBar inside a tab. Make a selection from the menuBar, this will populate the tab content and an 'Export to Excel' button will show up on the page. Once more, attempt to make a menuBar selection - you will see the "Export to Excel" button overlap the menuitems.
-
Hide
- Test.war
- 6.59 MB
- Brad Kroeger
-
- META-INF/MANIFEST.MF 0.0 kB
- WEB-INF/classes/.../messages_en.properties 81 kB
- WEB-INF/classes/CrListBean.class 6 kB
- WEB-INF/.../CrListDataTableBean$OnePageDataModel.class 2 kB
- WEB-INF/.../CrListDataTableBean.class 4 kB
- WEB-INF/classes/CrListService.class 0.4 kB
- WEB-INF/classes/CrListServiceImpl.class 2 kB
- WEB-INF/.../DataTableBaseViewBean.class 2 kB
- WEB-INF/classes/McpController.class 3 kB
- WEB-INF/classes/Tab.class 1 kB
- WEB-INF/faces-config.xml 0.6 kB
- WEB-INF/lib/icefaces-ee-ace.jar 3.79 MB
- WEB-INF/lib/icefaces-ee.jar 349 kB
- WEB-INF/lib/javax.faces.jar 2.47 MB
- WEB-INF/lib/jstl.jar 405 kB
- WEB-INF/web.xml 2 kB
- base_template.xhtml 2 kB
- change_request_list.xhtml 8 kB
- header.xhtml 1.0 kB
- home.xhtml 0.8 kB
- index.jsp 0.1 kB
- resources/css/pricing_style.css 100 kB
- resources/css/styles.css 8 kB
- splash.xhtml 0.5 kB
- tabset.xhtml 2 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Marking issue as won't fix after several attempts to fix this issue in IE7.
The main problem is that IE7 doesn't fully comply with CSS standards. It creates a new "stacking context" for every element that has 'position:relative'. This way, z-index values are only relative to the current stacking context; they don't apply to other stacking contexts (i.e. elements with 'postion:relative') that appear later in the HTML markup. So, for example, if we specify a z-index of 10000 on element A, which covers a big part of the viewport, but whose markup appears earlier in the HTML document, and we have another element B that appears later in the HTML document and has 'position:relative' and shares part of the area that element A, then element B will always appear on top of element A.
Some of the approaches to get around this situation invlove modifying all other elements on the page that have 'position:relative', but that would require specific knowledge of the page and it wouldn't be acceptable since that could create plenty of side effects.
The approach that was tried consists in dynamically creating a transparent iframe that is placed below the menu and above everything else, a similar approach used in ace:autoCompleteEntry. However, in the case of the menu components, because of all the complex styling ancestry of these components and for other unknown reasons, this approach didn't work, despite trying several different variations and workarounds. In some cases the approach seemed to work but iframe prevented the user from interacting with the displayed submenu. In other cases, the iframe also appeared below the 'position:relative' element, and in some other cases it caused some odd behaviours in the component.
The only possible workaround is to rearrange the page to avoid having these 'position:relative' elements near the menu.
Reminder to document as known issue for IE7.