Uploaded image for project: 'ZK Calendar'
  1. ZK Calendar
  2. ZKCAL-131

change calendar's heigh doesn't take effect immediately

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 3.2.0
    • 3.1.2
    • None

      Steps to Reproduce

          <div viewModel="@id('vm')@init('test.CalendarAttributeViewModel')" height="100%">
              <toolbar>
                  <toolbarbutton id="readOnlyButton" label="read only" mode="toggle" checked="@bind(vm.readOnly)" onItemCreate=""/><!--ZKCAL-126-->
                  <toolbarbutton id="height500px" label="height 500px" onClick='cal.setVflex(null);cal.setHeight("500px")'/>
              </toolbar>
              <calendars id="cal" readonly="@load(vm.readOnly)" mold="${param.mold}" vflex="1"/>
          </div>
      
      1. click the button to set height

      Current Result

      calendar's height doesn't change

      Expected Result

      calendar's height changes to 500px

      Debug Information

      • resize the browser window, then calendars will resize as expected

            hawk hawk
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: