mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
@@ -161,7 +161,9 @@ function keyboardOnKeyDown(e) {
|
||||
}
|
||||
|
||||
function keyboardPreventDefault(e) {
|
||||
e.preventDefault();
|
||||
if( e.target.tagName !== 'TEXTAREA' ) {
|
||||
e.preventDefault();
|
||||
}
|
||||
}
|
||||
|
||||
function keyboardOrientationChange() {
|
||||
|
||||
@@ -696,7 +696,8 @@ ionic.views.Scroll = ionic.views.View.inherit({
|
||||
};
|
||||
|
||||
self.touchMove = function(e) {
|
||||
if(e.defaultPrevented) {
|
||||
if(e.defaultPrevented ||
|
||||
(e.target.tagName === 'TEXTAREA' && e.target.parentElement.querySelector(':focus')) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user