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

Wrong position of vertical custom scrollbar if horizontal scroll position was changed

    Details

    • gh.sprint.customfield.default.name:
      ZK 8.6.2 S2

      Description

      Steps to Reproduce

      run attached zul
      scroll horizontally

      Current Result

      the position of the vertical scrollbar is wrong

      Expected Result

      the position of the vertical scrollbar is right

      Debug Information

      nativebar is okay

      https://github.com/zkoss/zk/blob/v8.6.1/zul/src/archive/web/js/zul/Scrollbar.js#L287
      Since the indicator is hidden, offsetWidth is 0

      https://github.com/zkoss/zk/blob/v8.6.1/zul/src/archive/web/js/zul/Scrollbar.js#L767
      needV is false

      Workaround

      1. Just avoid using custom scrollbar

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 2 hours Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - 2 hours Remaining Estimate - 2 hours
                  2h