mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 18:17:31 +08:00
chore(): build and lint
This commit is contained in:
@ -1838,7 +1838,7 @@ has been changed.
|
|||||||
When `clearOnEdit` is enabled, the `ionInput` event will be fired when
|
When `clearOnEdit` is enabled, the `ionInput` event will be fired when
|
||||||
the user clears the textarea by performing a keydown event.
|
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.
|
* Emitted when the input loses focus.
|
||||||
*/
|
*/
|
||||||
|
@ -72,7 +72,7 @@ const jsSetFocus = async (
|
|||||||
* If we remove the scroll padding now, users will
|
* If we remove the scroll padding now, users will
|
||||||
* see the page jump.
|
* see the page jump.
|
||||||
*/
|
*/
|
||||||
if (enableScrollPadding && contentEl) {
|
if (enableScrollPadding && contentEl !== null) {
|
||||||
currentPadding += scrollData.scrollAmount;
|
currentPadding += scrollData.scrollAmount;
|
||||||
setScrollPadding(contentEl, currentPadding);
|
setScrollPadding(contentEl, currentPadding);
|
||||||
setClearScrollPaddingListener(inputEl, contentEl, () => (currentPadding = 0));
|
setClearScrollPaddingListener(inputEl, contentEl, () => (currentPadding = 0));
|
||||||
|
Reference in New Issue
Block a user