Skip to content

Commit aa3663c

Browse files
authored
Merge pull request #2064 from IgniteUI/nrobakova/fix-issue-2055
Focus combo input when open drop down
2 parents be53aa2 + 8d60c59 commit aa3663c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/js/modules/infragistics.ui.combo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5924,7 +5924,7 @@
59245924

59255925
// Checks whether touch device is used with mode different than editable in order not to focus in the input element
59265926
_focusInInputWhenUsingTouchDevice: function () {
5927-
return !($.ig.util.isTouchDevice() && this.options.mode !== "editable");
5927+
return !("ontouchstart" in window && this.options.mode !== "editable");
59285928
},
59295929
_triggerItemsRendering: function () {
59305930
var args = {

0 commit comments

Comments
 (0)