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

notifications not closing on touch devices

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.0.5
    • Fix Version/s: 8.5.0
    • Component/s: ZK Client Engine
    • Security Level: Jimmy
    • Environment:

      ios safari 9/10
      android chrome

      Description

      Steps to Reproduce

      run the attached example
      tap the red div

      Current Result

      the "INFO" notification is not closing

      Expected Result

      notification should close when tapping anywhere outside the notification itself

      Root Cause

      potential side effect of bugfix ZK-3193

      mimicMouseDown is not called on ios in this case (offsetX/offsetY don't represent relative coordinates in the click target)
      https://github.com/zkoss/zk/blob/v8.0.5/zk/src/archive/web/js/zk/mount.js#L600-L606

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

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