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

        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.
        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.
        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: