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

notifications not closing on touch devices

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.5.0
    • 8.0.5
    • ZK Client Engine
    • Security Level: Jimmy
    • ios safari 9/10
      android chrome

      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

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

              Created:
              Updated:
              Resolved:

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