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

mobile touch-drag window causing console errors

    XMLWordPrintable

    Details

    • gh.sprint.customfield.default.name:
      ZK 9.5.1 S1

      Description

      Steps to Reproduce

      drag a modal window on a touch device or mobile emulation in chrome

      Current Result

      js errors in the console

      [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080
      stop @ zk.wpd:727
      u @ zk.wpd:360
      l @ zk.wpd:718
      dispatch @ zk.wpd:145
      m.handle @ zk.wpd:141
      

      by the same cause, it is possible to reload the page by dragging down the modal window on android chrome

      Expected Result

      no errors, page not reloading when dragging a modal window down

      Debug Information

      https://github.com/zkoss/zk/blob/v9.5.0.2/zk/src/archive/web/js/zk/domtouch.js#L345

      Workaround

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rudyhuang rudyhuang
              Reporter:
              cor3000 cor3000
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours
                  6h