This is a migrated thread and some comments may be shown as answers.

Bug DropdownList in R3 2017: dropdown gets closed when space is hit in the filter textbox

0 Answers 423 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kendo UI
Top achievements
Rank 1
Kendo UI asked on 14 Sep 2017, 11:36 AM
The dropdown element closes when the space key is hit when searching in the filter textbox. 

In order to overcome the issue, use the following workaround:
 
<script>
  var keyDown = kendo.ui.DropDownList.prototype._keydown;
  kendo.ui.DropDownList.prototype._keydown = function (e) {
    if (e.keyCode === kendo.keys.SPACEBAR && this.filterInput[0] === document.activeElement) {
      return;
    }
    keyDown.call(this, e);
  }
</script>


The bug is already fixed and it will be available with the first internal build after the official R3 2017 release.

GitHub issue logged:

https://github.com/telerik/kendo-ui-core/issues/3583
Tags
General Discussions
Asked by
Kendo UI
Top achievements
Rank 1
Share this question
or