From c0c1e3ab01a3fdeb97d6dc344ddaeffef4628c13 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Tue, 11 Oct 2022 15:58:18 +0000 Subject: [PATCH] chore(): build and lint --- angular/src/directives/proxies.ts | 2 +- core/src/utils/input-shims/hacks/scroll-assist.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/angular/src/directives/proxies.ts b/angular/src/directives/proxies.ts index 9bb43fee9f..d3eabd12ac 100644 --- a/angular/src/directives/proxies.ts +++ b/angular/src/directives/proxies.ts @@ -1838,7 +1838,7 @@ has been changed. When `clearOnEdit` is enabled, the `ionInput` event will be fired when the user clears the textarea by performing a keydown event. */ - ionInput: EventEmitter>; + ionInput: EventEmitter>; /** * Emitted when the input loses focus. */ diff --git a/core/src/utils/input-shims/hacks/scroll-assist.ts b/core/src/utils/input-shims/hacks/scroll-assist.ts index 2de0df3b02..be514e36bb 100644 --- a/core/src/utils/input-shims/hacks/scroll-assist.ts +++ b/core/src/utils/input-shims/hacks/scroll-assist.ts @@ -72,7 +72,7 @@ const jsSetFocus = async ( * If we remove the scroll padding now, users will * see the page jump. */ - if (enableScrollPadding && contentEl) { + if (enableScrollPadding && contentEl !== null) { currentPadding += scrollData.scrollAmount; setScrollPadding(contentEl, currentPadding); setClearScrollPaddingListener(inputEl, contentEl, () => (currentPadding = 0));