Disabled Combobox with autodrop still open in IE 11

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 8.0.3
    • Affects Version/s: None
    • Component/s: None
    • Security Level: Jimmy
    • None
    • Environment:

      IE 11, reproduced with IE 11.494.105860 - 11.0.33. Doesn't happen on chrome, firefox

    • ZK 8.0.3 S8
    • None

      steps to reproduce

      http://zkfiddle.org/sample/2e9qh6b/1-Combobox-Autodrop-IE11
      run fiddle
      click on the combobox input field
      type any letter (for example "a")

      actual result

      The combobox drop down menu is opened

      expected result

      The combobox drop down menu should not open

      debug info

      It seem that IE 11 still give focus and key events on disabled input elements

      workaround

      <script>
      		<![CDATA[
      			zk.afterLoad('zul.inp', function() {
      			    var _xCombobox = {};
      			    zk.override(zul.inp.Combobox.prototype, _xCombobox, {
      			    	doKeyDown_: function (evt) {
      			    		if(!this.isDisabled())
      			    			_xCombobox.doKeyDown_.apply(this,arguments);
      					}
      			    });
      			});
      		]]>
      	</script>
      

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

              Created:
              Updated:
              Resolved: