mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(keyboard): improve keyboard scroll assist
This commit is contained in:
@ -74,7 +74,7 @@ export class Keyboard {
|
||||
* focusOutline: false - Do not add the focus-outline
|
||||
*/
|
||||
|
||||
|
||||
let self = this;
|
||||
let isKeyInputEnabled = false;
|
||||
|
||||
function cssClass() {
|
||||
@ -107,7 +107,7 @@ export class Keyboard {
|
||||
function enableKeyInput() {
|
||||
cssClass();
|
||||
|
||||
this.zone.runOutsideAngular(() => {
|
||||
self.zone.runOutsideAngular(() => {
|
||||
document.removeEventListener('mousedown', pointerDown);
|
||||
document.removeEventListener('touchstart', pointerDown);
|
||||
|
||||
|
Reference in New Issue
Block a user