chore(): build and lint

This commit is contained in:
Liam DeBeasi
2022-10-11 15:58:18 +00:00
parent f1cdf18316
commit c0c1e3ab01
2 changed files with 2 additions and 2 deletions

View File

@ -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<CustomEvent<InputEvent | null>>;
ionInput: EventEmitter<CustomEvent<InputEvent>>;
/**
* Emitted when the input loses focus.
*/

View File

@ -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));