Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1576

Fix scrollbar display in nuxeo-data-table-column

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0.18
    • Fix Version/s: 2.4.72, 3.x, 3.1.x, 3.0.20
    • Component/s: UI
    • Release Notes Summary:
      Scrollbars are hidden by default in tables, and configurable on a per column basis.
    • Backlog priority:
      900
    • Upgrade notes:
      Hide

      The `data-table-column` element now exposes a property named `overflow`. It controls how cells content is displayed when larger than their column and is configurable on a per column basis.

      Authorized values are auto (display an horizontal scrollbar inside the cells when necessary, recommended for multivalued properties) or hidden (hide overflowing content, recommended for finer control over display).

      The default value is set to hidden, in order to keep a consistent behavior with previous releases and to let developers decide where horizontal scrollbars should appear specifically.

      Your existing configuration needs to be updated if you intend to display a horizontal scrollbar for specific columns.

      Show
      The `data-table-column` element now exposes a property named `overflow`. It controls how cells content is displayed when larger than their column and is configurable on a per column basis. Authorized values are auto (display an horizontal scrollbar inside the cells when necessary, recommended for multivalued properties) or hidden (hide overflowing content, recommended for finer control over display). The default value is set to hidden, in order to keep a consistent behavior with previous releases and to let developers decide where horizontal scrollbars should appear specifically. Your existing configuration needs to be updated if you intend to display a horizontal scrollbar for specific columns.
    • Sprint:
      UI - 2023-2

      Description

      Steps to reproduce:

      1. install nuxeo-web-ui 3.0.18
      2. log in as Administrator
      3. clear the browser cache and do a force refresh in the browser
      4. navigate to Default Domain > Workspace
      5. create a workspace
      6. create a Note in the new workspace with the title test.png_1659707702729082741_6072291475465787
      7. go back to the workspace
      8. add the columns for State, Version, Created, Author
      9. resize the window until the column "Title" is too short and a scrollbar appears

      Expected result : no scrollbar should be displayed in the Title column

      Same problem can be observed in the trash view with the column which displays the path

        Attachments

        1. wokspace.png
          wokspace.png
          119 kB
        2. trash.png
          trash.png
          137 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 days
                  4d