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

Thread is closed for posting
1 posts, 0 answers
  1. Kendo UI
    Kendo UI avatar
    331 posts
    Member since:
    Aug 2011

    Posted 14 Sep Link to this post

    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
Back to Top