Skip to content

Commit 44a3dd1

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent e025607 commit 44a3dd1

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

src/kendo.list.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ var __meta__ = { // jshint ignore:line
3838
SELECTED = "selected",
3939
REQUESTSTART = "requestStart",
4040
REQUESTEND = "requestEnd",
41+
BLUR = "blur",
42+
FOCUS = "focus",
43+
FOCUSOUT = "focusout",
4144
extend = $.extend,
4245
proxy = $.proxy,
4346
isArray = $.isArray,
@@ -1614,13 +1617,14 @@ var __meta__ = { // jshint ignore:line
16141617
_toggleCascadeOnFocus: function() {
16151618
var that = this;
16161619
var parent = that._parentWidget();
1620+
var focusout = isIE && parent instanceof ui.DropDownList ? BLUR : FOCUSOUT;
16171621

1618-
parent._focused.add(parent.filterInput).bind("focus", function() {
1622+
parent._focused.add(parent.filterInput).bind(FOCUS, function() {
16191623
parent.unbind(CASCADE, that._cascadeHandlerProxy);
16201624
parent.first(CHANGE, that._cascadeHandlerProxy);
16211625
});
16221626

1623-
parent._focused.add(parent.filterInput).bind("focusout", function() {
1627+
parent._focused.add(parent.filterInput).bind(focusout, function() {
16241628
parent.unbind(CHANGE, that._cascadeHandlerProxy);
16251629
parent.first(CASCADE, that._cascadeHandlerProxy);
16261630
});

styles/mobile/common/workarounds.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,8 @@
8484
{
8585
position: absolute;
8686
}
87+
88+
.km-on-ios [contenteditable] {
89+
-webkit-user-select: text;
90+
user-select: text;
91+
}

0 commit comments

Comments
 (0)