ICEfaces
  1. ICEfaces
  2. ICE-11409

Popup ice:selectInputDate inside a scrollable container displays calendar at wrong position

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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

      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.
      1. basicTable.xhtml
        9 kB
        Arturo Zambrano
      2. basicTable.xhtml
        9 kB
        Arturo Zambrano
      3. basicTable.xhtml
        9 kB
        Arturo Zambrano

        Activity

        Arturo Zambrano created issue -
        Arturo Zambrano made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Arturo Zambrano made changes -
        Fix Version/s EE-3.3.0.GA_P06 [ 13114 ]
        Judy Guglielmin made changes -
        Support Case References Support Case 14348:- https://icesoft.my.salesforce.com/5000g00001ui4jn?srPos=0&srKp=500
        Arturo Zambrano made changes -
        Fix Version/s EE-3.3.0.GA_P06 [ 13114 ]
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Arturo Zambrano made changes -
        Attachment basicTable.xhtml [ 22980 ]
        Arturo Zambrano made changes -
        Resolution Won't Fix [ 2 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Arturo Zambrano made changes -
        Comment [ There's no need to fix anything. The calendar can be displayed at the right position (above or below the input field) by making the scrollable container positioned. This means adding 'position:relative;' to the same container that was made scrollable.

        Attaching the test case with this addition to illustrate the solution. ]
        Arturo Zambrano made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Arturo Zambrano made changes -
        Attachment basicTable.xhtml [ 23013 ]
        Attachment basicTable.xhtml [ 23014 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: