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

hovering a disabled button closes a popup immediately

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.5.0
    • 8.0.4
    • None
    • Security Level: Jimmy
    • None

      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>

            DevChu DevChu
            hawk hawk
            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 - 3 hours
                3h