Loading combobox model from serverpush cause popup to fail to resize

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 9.6.0
    • Affects Version/s: 9.5.0.2, 9.5.1
    • Component/s: Components
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      https://zkfiddle.org/sample/33tupp1/2-async-combobox-popup#source-2

      run fiddle

      open combobox popup

      the combobox is empty at first, then is populated in a serverpush activation

      Current Result

      popup sizes based on content without any height limit, cause scrollbar on browser window

      Expected Result

      popup size is recalculated after adding new items

      Debug Information

       

      onResponse: function(ctl, opts) {
       if ((opts.rtags.onOpen || opts.rtags.onChanging) && this.isOpen())
      

      Size calculation is only triggered if the response contains ((onOpen or onChanging) + popup currently open).

      Since the serverpush response doesn't contain rtags, it never trigger this recalculation.

      Workaround

       

            Assignee:
            rudyhuang
            Reporter:
            MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Time Spent - 4 hours Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - 4 hours Remaining Estimate - 4 hours
                4h