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

Combobutton has not keyboard behavior

    XMLWordPrintable

Details

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

    Description

      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>

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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