ICEfaces
  1. ICEfaces
  2. ICE-9321

IE7 ace:dataTable sortable column icon moving with horizontal scrolling

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.3
    • Fix Version/s: EE-3.3.0.GA_P02
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Tomcat 7
    • Assignee Priority:
      P2
    • Salesforce Case Reference:

      Description

      overflow: auto on the ace:dataTable results in horizontal scrolling. In IE7, when you attempt to scroll a column with the sortBy attribute specified, they sortable column icon moves as you scroll instead of staying in it's proper header location.

      See attached screenshot. Attaching war file with source code. When running the war file in Tomcat 7, hover over the 'My Customer Pricing' tab, then select 'Change Request List' from the menu items. You will see an ace:dataTable with horizontal scrolling.

        Activity

        Brad Kroeger created issue -
        Brad Kroeger made changes -
        Field Original Value New Value
        Attachment scrollingAndSorting.PNG [ 16014 ]
        Attachment Test.war [ 16015 ]
        Brad Kroeger made changes -
        Assignee Ken Fyten [ ken.fyten ]
        Brad Kroeger made changes -
        Summary IE7 ace:dataTable sortable coumn icon moving with scrolling IE7 ace:dataTable sortable column icon moving with scrolling
        Ken Fyten made changes -
        Summary IE7 ace:dataTable sortable column icon moving with scrolling IE7 ace:dataTable sortable column icon moving with horizontal scrolling
        Assignee Ken Fyten [ ken.fyten ] Nils Lundquist [ nils.lundquist ]
        Fix Version/s 3.4 [ 10770 ]
        Assignee Priority P2 [ 10011 ]
        Hide
        Brad Kroeger added a comment -

        The client has commented on when you scroll the browser to the right beyond the right border of the datatable you will also see the sortable column icons. So they are not being contained by the datatable. See attached screen shot.

        Show
        Brad Kroeger added a comment - The client has commented on when you scroll the browser to the right beyond the right border of the datatable you will also see the sortable column icons. So they are not being contained by the datatable. See attached screen shot.
        Brad Kroeger made changes -
        Attachment scrollRight.PNG [ 16183 ]
        Brad Kroeger made changes -
        Salesforce Case Reference 5007000000UaCTLAA3
        Hide
        Brad Kroeger added a comment -

        This issue is similar in nature to ICE-9515

        Show
        Brad Kroeger added a comment - This issue is similar in nature to ICE-9515
        Hide
        Brad Kroeger added a comment -

        Further observations:

        User is zooming their browser in to 75%, then when scroll not only are the sort arrow buttons not scrolling properly, but the data in the columns are also being over-layed with the vertical column lines of the table, cutting off both the column headers and the data. Even the buttons are scrolling incorrectly.

        Show
        Brad Kroeger added a comment - Further observations: User is zooming their browser in to 75%, then when scroll not only are the sort arrow buttons not scrolling properly, but the data in the columns are also being over-layed with the vertical column lines of the table, cutting off both the column headers and the data. Even the buttons are scrolling incorrectly.
        Brad Kroeger made changes -
        Attachment image005.jpg [ 16528 ]
        Attachment image008.jpg [ 16529 ]
        Brad Kroeger made changes -
        Assignee Nils Lundquist [ nils.lundquist ] Ken Fyten [ ken.fyten ]
        Hide
        Brad Kroeger added a comment -

        I tested the ace:datatable attribute 'scrollWidthIE7'. First, removed overflow: auto in the application. I then added scrollable="true" to the datatable and scrollWidthIE7="3200" to test a single specific datatable that was particularly wide. I didn't see any change to the issues specified above.

        Show
        Brad Kroeger added a comment - I tested the ace:datatable attribute 'scrollWidthIE7'. First, removed overflow: auto in the application. I then added scrollable="true" to the datatable and scrollWidthIE7="3200" to test a single specific datatable that was particularly wide. I didn't see any change to the issues specified above.
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA_P02 [ 11371 ]
        Fix Version/s 4.0 [ 10770 ]
        Assignee Ken Fyten [ ken.fyten ] Arturo Zambrano [ artzambrano ]
        Arran Mccullough made changes -
        Salesforce Case Reference 5007000000UaCTLAA3
        Arran Mccullough made changes -
        Salesforce Case Reference 5007000000XTH9FAAX
        Hide
        Arturo Zambrano added a comment -

        This can be fixed at the app-level by simply adding "position: relative;" to the same container that has "overflow:auto;".

        The root cause of the issue is that IE7 handles differently position:relative;, and the ui-sortable-column-icon CSS class that the sorting buttons have contains this rule. This could be fixed by simply changing this rule to position:absolute; in our style sheets. We could do it just for IE, but there may be many other scenarios where using position:absolute; will have unwanted results. Fixing this at the app level seems to be the easiest way.

        Show
        Arturo Zambrano added a comment - This can be fixed at the app-level by simply adding "position: relative;" to the same container that has "overflow:auto;". The root cause of the issue is that IE7 handles differently position:relative;, and the ui-sortable-column-icon CSS class that the sorting buttons have contains this rule. This could be fixed by simply changing this rule to position:absolute; in our style sheets. We could do it just for IE, but there may be many other scenarios where using position:absolute; will have unwanted results. Fixing this at the app level seems to be the easiest way.
        Hide
        Arturo Zambrano added a comment -

        Verified situation in the case of scrollable data tables, both on the showcase app and on QA's test app. In both cases, this issue is not present on IE7 (nor in any other browser), even though none of the elements that compose the table have position:relative;. So, it could be due to other factors that this issue is not present. On the showcase, a parent component in the demos has position:relative;, and in the test app this is not the case but nevertheless there are no issues.

        Show
        Arturo Zambrano added a comment - Verified situation in the case of scrollable data tables, both on the showcase app and on QA's test app. In both cases, this issue is not present on IE7 (nor in any other browser), even though none of the elements that compose the table have position:relative;. So, it could be due to other factors that this issue is not present. On the showcase, a parent component in the demos has position:relative;, and in the test app this is not the case but nevertheless there are no issues.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Brad Kroeger
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: