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

open portallayout navigation popup produces an javascript error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 10.0.1
    • None

      Steps to Reproduce

      <zk>
          <portallayout id="portalLayout" maximizedMode="whole">
              <portalchildren style="padding: 5px" width="30%">
                  <panel id="calendar" title="Calendar" border="normal" collapsible="false" closable="false" maximizable="false" style="margin-bottom:10px">
                      <panelchildren>
                          <calendar/>
                      </panelchildren>
                  </panel>
                  <panel id="translate" title="Translate" border="normal" collapsible="true" closable="true" maximizable="true" style="margin-bottom:10px">
                      <panelchildren>
                          <calendar/>
                      </panelchildren>
                  </panel>
              </portalchildren>
      
              <portalchildren style="padding: 5px" width="40%">
              </portalchildren>
      
              <portalchildren style="padding: 5px" width="30%">
              </portalchildren>
          </portallayout>
      </zk>
      

      1. should include za11y.jar in 10.0.0.FL.20230728-Eval
      2. click a panel's header
      3. press the space key to open a popup

      Current Result

      Uncaught TypeError: this.$n_(...).firstChild.focus is not a function
          at subclass._openPopup (za11y.wpd:2:32623)
          at subclass.doKeyDown_ (za11y.wpd:2:32956)
          at __webpack_modules__../zk/src/main/resources/web/js/zk/widget.ts.Widget.doKeyDown_ (zk.wpd:33598:19)
          at __webpack_modules__../zul/src/main/resources/web/js/zul/Widget.ts.Widget.doKeyDown_ (zk.wpd:40295:41)
          at __webpack_modules__../zk/src/main/resources/web/js/zk/widget.ts.Widget.doKeyDown_ (zk.wpd:33598:19)
          at __webpack_modules__../zul/src/main/resources/web/js/zul/Widget.ts.Widget.doKeyDown_ (zk.wpd:40295:41)
          at _doEvt (zk.wpd:27501:50)
          at HTMLDocument.<anonymous> (zk.wpd:27600:13)
          at HTMLDocument.dispatch (zk.wpd:13448:48)
          at elemData.handle (zk.wpd:13300:47)
      

      Expected Result

      no error

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

              Created:
              Updated: