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

Missing onSize event in NoDOM

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.0.3
    • Fix Version/s: 9.0.1.1
    • Component/s: Components
    • Labels:

      Description

      Steps to Reproduce

      https://zkfiddle.org/sample/3iuj2jb/2-ZK-4553

      • Click the "toggle" button

      Current Result

      The width of the buttons won't be changed.

      Expected Result

      The width of the buttons should be 1:2

      Debug Information

      1. The children in <nodom> won't receive onSize event.
      2. In ZK 9.0.1, after multiple presses the result is right.
      3. In ZK 9.0.1, even using <div> instead, the children won't receive onSize event at the first time (might be another issue).

      Workaround

      1. Remove <nodom>
      2. Replace with <div> (Works only in <= 9.0.0, ZK-4556)

        Attachments

        1. bug.png
          bug.png
          10 kB
        2. expected.png
          expected.png
          14 kB

          Issue Links

            Activity

              People

              Assignee:
              DevChu DevChu
              Reporter:
              rudyhuang rudyhuang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: