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

hovering a disabled button closes a popup immediately

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.0.4
    • Fix Version/s: 8.5.0
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None

      Description

      steps to reproduce

      1. load the attached zul
      2. hover to the <div> with "disabled button tooltip" and trigger the tooltip popup with a disabled button to shows up
      3. hover to the disabled button

      current result

      the open popup closes itself immediately

      expected result

      the popup keeps open

      debug info

      • if you open the tooltip of another <div> with "normal tooltip" and hover on an enabled button. The popup keeps open and doesn't close itself.
      • this issue only happens since 7.0.0. 6.x doesn't happen.
      • the disabled button doesn't fire onMouseOver event, but the button still fires the event under 6.x.
      • firefox still fires onmouseover event on a disabled element

      workaround

      • use pointer-events:none
        <popup id="ppd2" style="padding:20px">
        <button disabled="true" style="pointer-events:none">disabled</button>
        </popup>

        Attachments

          Activity

            People

            • Assignee:
              DevChu DevChu
              Reporter:
              hawk hawk
            • 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 - 3 hours
                3h