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

cannot drop draggable div ios

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.5.1
    • Freshly, 9.5.1
    • ZK Client Engine
    • Security Level: Jimmy
    • reproduced in both chrome/safari (ios)

      also reproducible in chome ipad/iphone emulation

    • ZK 9.5.1 S1

      Steps to Reproduce

      run the example, drag/drop divs into each other

      Current Result

      on ios devices the drop event doesn't trigger, the div positions/nesting doesn't change

      Expected Result

      possible to rearrange the draggable divs
      e.g.:

      Debug Information

      on android the dragged element is rendered bottom-right of the touch location
      on ios the dragged element is rendered directly "under"the touch position (so the drop doesn't reach the underlying target)

      Workaround

      prevent the drag ghost from receiving pointer events

              .z-drag-ghost {
                  pointer-events: none;
              }
      

        1. screenshot-1.png
          12 kB
          cor3000
        2. zk-4738-simple-drag.zul
          0.9 kB
          cor3000

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

              Created:
              Updated:
              Resolved:

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