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

The Grid/Listbox header and context are misaligned after resized

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 7.0.4, 8.5.0
    • Fix Version/s: None
    • Component/s: Components
    • Environment:

      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) {
      

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              rudyhuang rudyhuang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m