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

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