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

Missing onSize event in NoDOM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.0.1.1
    • 8.0.3
    • Components
    • None

      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)

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

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

              Created:
              Updated:
              Resolved: