Skip to content

Commit

Permalink
[BUG #8262] Multiple issues in qx.Mobile caused by Pointer enhancement
Browse files Browse the repository at this point in the history
* Fixed Android scroll to focused input logic
  • Loading branch information
czuendorf committed Apr 29, 2014
1 parent 78d9608 commit e2ccc8a
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions framework/source/class/qx/ui/mobile/form/Input.js
Expand Up @@ -107,17 +107,7 @@ qx.Class.define("qx.ui.mobile.form.Input",
} else {
setTimeout(function() {
scrollContainer.scrollToWidget(this.getLayoutParent(), 0);

if (qx.core.Environment.get("os.name") == "android") {
var old = this._getCaretPosition();
window.getSelection().empty();

setTimeout(function() {
this._setCaretPosition(old);
}.bind(this), 50);
}

}.bind(this), 0);
}.bind(this), 500);
}
}
},
Expand Down

0 comments on commit e2ccc8a

Please sign in to comment.