Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2-RC1
-
Fix Version/s: 1.8.2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:panelCollapsible + focus
Description
Add focus support to the panelCollapsible component
Issue Links
- blocks
-
ICE-5308
Problem with views with collapsible panel
-
- Closed
-
File PanelCollapsibleRenderer.java updated with revision 19313 changed some views in IE browsers.
In complex pages with collapisble panel unexpected bottom scrollbar appears.
The problem is in line 79 with content
div.setAttribute(HTML.STYLE_ATTR, "padding:1px;background-image:none;width:100%;");
padding 0px resolve scrollbars problem.
Patch
Index: PanelCollapsibleRenderer.java
===================================================================
— PanelCollapsibleRenderer.java (revision 20162)
+++ PanelCollapsibleRenderer.java (working copy)
@@ -76,7 +76,7 @@
panelCollapsible.isExpanded()+"'; " +
"iceSubmit(document.forms['"+ form.getClientId(facesContext) +"'],this,event); return false;");
Element div = domContext.createElement(HTML.DIV_ELEM);
+ div.setAttribute(HTML.STYLE_ATTR, "padding:0px;background-image:none;width:100%;");
header.appendChild(div);
//this anchor should be known by the component only, so we are defining style to the component level
Element anchor = domContext.createElement(HTML.ANCHOR_ELEM);