Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-4.1.0.GA, EE-3.3.0.GA_P04
-
Fix Version/s: 4.2.BETA, 4.2, EE-3.3.0.GA_P05
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Firefox, Chrome
-
Assignee Priority:P1
-
Support Case References:Support Case #13878 - https://icesoft.my.salesforce.com/5007000001eJ5tI
Description
In this scenario in Chrome and Firefox (not IE11) when an ace:dialog is shown the modal layer is show in front of the dialog, making it impossible to close or interact with.
The root cause of this issue is the addition of some custom CSS which is applied to a div that is a parent/container of the dialog content. For example:
<div style="position: fixed;">
<ace:dialog id="testDialog"
modal="true"
closable="true"
header="Test Dialog"
styleClass="dialog"
draggable="false">
<h:outputText value="Test Dialog"/>
</ace:dialog>
</div>
Testing with the latest code base (EE 3.3.x and 4.x) it looks like this issue has been resolved but another behavior is shown. The modal layer is placed correctly behind the dialog content but the modal layer only is shown for the content in the <div style="position: fixed;">, anything outside of this is not effected by the modal layer.
The root cause of this issue is the addition of some custom CSS which is applied to a div that is a parent/container of the dialog content. For example:
<div style="position: fixed;">
<ace:dialog id="testDialog"
modal="true"
closable="true"
header="Test Dialog"
styleClass="dialog"
draggable="false">
<h:outputText value="Test Dialog"/>
</ace:dialog>
</div>
Testing with the latest code base (EE 3.3.x and 4.x) it looks like this issue has been resolved but another behavior is shown. The modal layer is placed correctly behind the dialog content but the modal layer only is shown for the content in the <div style="position: fixed;">, anything outside of this is not effected by the modal layer.
Attached test case that shows the most recent behavior on the ICEfaces 4 trunk.
Steps: