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

Combobutton has not keyboard behavior

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 7.0.7, 8.0.1
    • 8.0.0, 7.0.6.1
    • None
    • None

      When focus is on a combobutton, "space" or "enter" key presses are not handled
      (space or enter trigger "onclick' on normal buttons)
      There is also no behavior to open the drop down menu.

      steps to reproduce
      select the combobutton (right click, then escape) then press enter / space / direction keys

      <zk>
      <window border="normal" title="hello" apply="org.zkoss.bind.BindComposer">
      <hbox hflex="1">
      <button onClick='alert("handle event")' label="Button" focus="true" />
      <combobutton onClick='alert("handle event")' label="ComboButton" tabindex="1">
      <menupopup>
      <menuitem label="Item 1" />
      </menupopup>
      </combobutton>
      </hbox>
      </window>
      </zk>

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

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours
                5h