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

Missing onShow event from borderregion to popups when expanding

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.6.2
    • Fix Version/s: 9.0.1
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 9.0.1 S1

      Description

      Steps to Reproduce

      http://zkfiddle.org/sample/1a1uvrs/2-popup-in-collapsed-borderlayout-region

       

      Click "hide" button to hide the popup

      Click the collapse arrow on the right corner of the borderregion to collapse the south borderregion.

      Click the "show" button to set popup visible to true

      Click the arrow on the bottom right corner to expand the region (NOT the region name to unfold it without pining it opened)

      Current Result

      popup has the dom style = display: none + visibility: visible which makes it non-visible

      Expected Result

      Popup should be visible after the borderregion is expanded

       

      Debug Information

      borderregion onShow event doesn't propagate to the overlapped window

      Workaround

      <window id="wnd" border="normal" title="Dialog" mode="overlapped">
       <attribute w:name="setVisible"><![CDATA[ 
       function(visible) {
       this.$setVisible(visible);
       var n = this.$n();
       if (visible && n.style.display == 'none') {
       this.setDomVisible_(n, false, {visibility: 1});
       this.setDomVisible_(n, true, {display: 1});
       }
       }
       ]]></attribute>

       

        Attachments

          Activity

            People

            Assignee:
            DevChu DevChu
            Reporter:
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: