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

a component's height doesn't fill up its parent with vflex="1" when there is a vertical scrollbar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.4
    • 8.0.3
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.0.4 S1
    • None

      steps to reproduce

      1. run the attached file, 3411.zul

      actual result

      There is an extra space between the bottom of the window and the bottom of the page.

      Since we specify vflex="1", the window's height should extend to fill the page's height.

      expected result

      There should be no space between the bottom of the window and the bottom of the page.

      debug info

      1. t3879.zul is the original user's case
      2. resize a browser, the window's height will fill up the page's width

      workaround

      specify height="100%" on the out-most window.

        1. 3411.zul
          0.6 kB
          hawk
        2. expected.png
          16 kB
          hawk
        3. extraBottomSpace.png
          17 kB
          hawk
        4. t3879.zul
          0.7 kB
          hawk

            jackwei jackwei
            hawk hawk
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Time Spent - 2 days, 7 hours, 30 minutes Remaining Estimate - 30 minutes
                30m
                Logged:
                Time Spent - 2 days, 7 hours, 30 minutes Remaining Estimate - 30 minutes
                2d 7h 30m