Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3883

The Grid/Listbox header and context are misaligned after resized

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Normal
    • 8.6.0
    • 7.0.4, 8.5.0
    • Components
    • ZK 7.0.4 ~ 8.5.0 with IE9, IE11, Firefox, Chrome confirmed

    Description

      Steps to Reproduce

      http://zkfiddle.org/sample/lalut3/1-B70-ZK-2395-related
      Click "Fire Resize" and check the Grid/Listbox.

      Actual Result

      The Grid/Listbox header and context are aligned first, but after clicking "Fire Resize" they are misaligned.

      Expected Result

      The Grid/Listbox header and context are aligned, even if resized the content.

      Debug Info

      It must turn the nativebar off to reproduce this issue

      <custom-attributes org.zkoss.zul.nativebar="false"/>
      

      https://github.com/zkoss/zk/blob/v8.5.0/zul/src/archive/web/js/zul/mesh/MeshWidget.js#L1274
      The hdfaker-bar will be 10px wide because vScroll is 10px if using non-native scrollbar, but according to the comment it should be removed.

      refix B70-ZK-2114: remove hdfakerbar when there is no native scrollbar

      if (this._nativebar && vScroll) {
      

      Attachments

        Issue Links

          Activity

            People

              Leon03 Leon03
              rudyhuang rudyhuang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2 days Original Estimate - 2 days
                  2d
                  Remaining:
                  Time Spent - 1 hour, 30 minutes Remaining Estimate - 2 days
                  2d
                  Logged:
                  Time Spent - 1 hour, 30 minutes Remaining Estimate - 2 days
                  1h 30m