Flex cause wrong status of radio

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • 7.0.1
    • Affects Version/s: 7.0.0
    • Component/s: None
    • Security Level: Jimmy
    • None
    • None

      Reproduce:
      Use test.zul and TestComposer.java in reproduce.zip attached:
      Click 'test' button then radio becomes unchecked.

      Workaround:
      Fix radio status after setFlexSize, see test.zul in workaround.zip

      Cause:
      Line 1413 of textSize method defined in dom.js
      https://github.com/zkoss/zk/blob/v7.0.0/zk/src/archive/web/js/zk/dom.js#L1413

        1. reproduce.zip
          0.6 kB
        2. workaround.zip
          0.6 kB

            Assignee:
            noahhuang
            Reporter:
            benbai
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: