mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(): build and lint
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user