Skip to content

Commit 941df37

Browse files
Kyeonistipsan
andauthored
fix: add missing parameters: skipOverflowHiddenElements (#1024)
Co-authored-by: Cody Olsen <[email protected]>
1 parent c50f55e commit 941df37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ function scroll<T>(target: Element, options?: any) {
133133
inline: overrides.inline,
134134
scrollMode: overrides.scrollMode,
135135
boundary: overrides.boundary,
136-
behavior: (actions) =>
136+
skipOverflowHiddenElements: overrides.skipOverflowHiddenElements,
137+
behavior: actions =>
137138
Promise.all(
138139
actions.reduce(
139140
(results: Promise<SmoothScrollAction>[], { el, left, top }) => {

0 commit comments

Comments
 (0)