create a combobox and make the filter enabled. we type some text to filter the result, make sure we type key quickly and the result have no data items. then we click the drop down arrow, the popup area should become small but in fact it is always 200px. Furthermore, after the combobox lost focus, we click the arrow, in filter event, the property e.filter is undefined.
01.
var module = angular.module("mainApp", ["kendo.directives"]);
02.
module.controller("MainCtrl", function ($scope) {
03.
$scope.stocksOption = {
04.
dataTextField: "Name",
05.
autoBind: false,
06.
dataSource: new kendo.data.DataSource({
07.
data: [
08.
{ Name: "Apple" },
09.
{ Name: "Orange" },
10.
{ Name: "Pear" },
11.
{ Name: "Grape" },
12.
{ Name: "Banana" },
13.
{ Name: "Watermelon" },
14.
{ Name: "Muskmelon" },
15.
{ Name: "Sugarcane" }
16.
]
17.
}),
18.
filter: "contains"
19.
};
20.
21.
});
how to make the popup size become small when there are no data when filtered.