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

a nodom sibling causes hflex=1 calculate the wrong size

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.6.3
    • 8.6.2
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.6.3 S1

      Steps to Reproduce

          <hlayout>
              <nodom>
                  <div style="min-width: 190px" hflex="min">
                      sidebar
                  </div>
              </nodom>
              <div hflex="1" style="border: 1px solid">
                  content
              </div>
          </hlayout>
      

      Current Result

      content width is 0

      Expected Result

      content width should fill the rest browser width.

      Debug Information

      • if I remove nodom, the content width will be expected.

            DevChu DevChu
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: