Skip to content

Commit

Permalink
fix(scroll smoother helper)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsqrt committed Oct 19, 2023
1 parent c00e6ab commit 2cf02c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/components/smooth-scroll/init-scroll-smoother.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const initScrollSmoother = () => {
content: document.querySelector('.js-scroll-inner'),
smooth: 1, // how long (in seconds) it takes to "catch up" to the native scroll position
smoothTouch: false, // much shorter smoothing time on touch devices (default is NO smoothing on touch devices)
normalizeScroll: true,
normalizeScroll: { allowNestedScroll: true },
});
};

Expand Down

0 comments on commit 2cf02c2

Please sign in to comment.