Skip to content

Commit

Permalink
fix: add missing parameters: skipOverflowHiddenElements (#1024)
Browse files Browse the repository at this point in the history
Co-authored-by: Cody Olsen <stipsan@gmail.com>
  • Loading branch information
Kyeoni and stipsan committed Mar 9, 2023
1 parent c50f55e commit 941df37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ function scroll<T>(target: Element, options?: any) {
inline: overrides.inline,
scrollMode: overrides.scrollMode,
boundary: overrides.boundary,
behavior: (actions) =>
skipOverflowHiddenElements: overrides.skipOverflowHiddenElements,
behavior: actions =>
Promise.all(
actions.reduce(
(results: Promise<SmoothScrollAction>[], { el, left, top }) => {
Expand Down

0 comments on commit 941df37

Please sign in to comment.