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

Trendy button doesn't change it's style properly when loosing focus

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.0.2
    • Fix Version/s: 6.5.1
    • Component/s: None
    • Labels:
      None

      Description

      In certain situation trendy button looks like it's focused even when it's not. Default mold is not affected. Please look at the screenshot - all three components are "focused" but in fact only the input box has focus.

      How to reproduce:

      <zk xmlns="http://www.zkoss.org/2005/zul">
          <bandbox>
              <bandpopup width="200px" height="100px">
                  <button id="btn1" label="Button 1" mold="trendy"></button>
                  <button id="btn2" label="Button 2" mold="trendy"></button>
              </bandpopup>
          </bandbox>
      </zk>
      

      1. Click on the bandbox button to open the popup.
      2. Click on one of the buttons to give it focus.
      3. Click on area outside of popup to close the bandbox.
      4. Click on the bandbox button to open the popup again.

      Now bandbox input field has focus but button is still rendered as focused.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              neillee neillee
              Reporter:
              czynga czynga
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: