-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Normal
-
Affects Version/s: 9.0.1
-
Component/s: Browser Issue, Components
-
Environment:
IE9 ~ IE10
-
None
Steps to Reproduce
https://zkfiddle.org/sample/qotehf/1-ZK-4588
Type a, b slowly. Then wait a second.
Current Result
"abacus" was selected, and the focus was missing.
Expected Result
"abacus" was selected, but the focus was preserved. "acus" was type-ahead and selected.
Debug Information
Only on IE.
Firefox and Chrome are okay.
A side effect of ZK-4383.
Workaround
<script><![CDATA[
zk.afterLoad('zul.inp', function() {
var xCombobox = {};
zk.override(zul.inp.Combobox.prototype, xCombobox, {
setRepos: function() {
if (this.desktop && zk.ie) {
var n = this.getInputNode();
n.value = this.valueEnter_ != null ? this.valueEnter_ : this._value || '';
}
xCombobox.setRepos.apply(this, arguments);
}
});
});
]]></script>
- relates to
-
ZK-4383 Combobox losing input characters
-
- Closed
-