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

modal window with border layout doesn't resize correctly

XMLWordPrintable

      Steps to Reproduce

      https://zkfiddle.org/sample/30jepdc/1-modal-window-with-border-layout
      select breeze theme (issue becomes more visible, also fails in other themes)
      click the button

      Current Result

      content of the window is only sized after resizing the window

      Expected Result

      content of window resized as when loading the window initially
      https://zkfiddle.org/sample/30jepdc/2-modal-window-with-border-layout

      Debug Information

      still works in 9.0.0

      Workaround

      loading the JS packages 'zul.wnd' and 'zul.layout' eagerly e.g. via language addon:

      <?xml version="1.0" encoding="UTF-8"?>
      <language-addon>
          <addon-name>zksupport9</addon-name>
          <language-name>xul/html</language-name>
      
          <javascript package="zul.wnd" merge="true"/>
          <javascript package="zul.layout" merge="true"/>
          <javascript package="zul.grid" merge="true"/> <!-- issue also happens for grid -->
          <javascript package="zul.wnd" merge="true"/>
          <javascript package="zul.layout" merge="true"/>
      
          <javascript package="zul.menu" merge="true"/><!-- listbox dependencies -->
          <javascript package="zul.mesh" merge="true"/><!-- listbox dependencies -->
          <javascript package="zul.sel" merge="true"/><!-- listbox -->
      </language-addon>
      

        1. grid.zul
          0.7 kB
          cor3000
        2. image-2020-04-24-16-00-53-594.png
          8 kB
          cor3000
        3. image-2020-04-24-16-01-38-809.png
          8 kB
          cor3000

            DevChu DevChu
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: