Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: EE-3.3.0.GA_P05
-
Fix Version/s: None
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Any
-
Support Case References:Support Case 14348:- https://icesoft.my.salesforce.com/5000g00001ui4jn?srPos=0&srKp=500
Description
When there's a popup ice:selectInputDate component inside a scrollable container, such as a data table, and the button is activated to display the calendar, the calendar is displayed at a wrong position when the scroll position is not 0 in either dimension. It seems like the calculations to display the calendar don't take into account the scroll offset.
I'm attaching an improved solution for their test case, in order to make sure that the calendar popup is not concealed by the positioned parent div.
The solution consists in not having a single div with both the relative position styling and the overflow styling. So, a new div parent was introduced, so that it contains only the positioned styling, and it's immediate child div contains the overflow and width styling. The only change is this div, at line 45, and it's respective closing tag.