Skip to content

Commit 2712608

Browse files
author
fschwander
committed
fix: adding missing default value for offset according to documentation
1 parent 53e0803 commit 2712608

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Scrollama.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ Scrollama.defaultProps = {
7777
onStepEnter: () => {},
7878
onStepExit: () => {},
7979
threshold: 4,
80+
offset: 0.3,
8081
};
8182

8283
export default Scrollama;

0 commit comments

Comments
 (0)