Skip to content

Commit 10464b2

Browse files
committed
🐛 FIX: offset issue in Demo2 #1
1 parent 7bfcc21 commit 10464b2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ build
1111
# Dependency directory
1212
node_modules
1313

14-
.env
14+
.env
15+
16+
*.tgz

demo-app/src/pages/Demo2.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ const Demo2 = (props: Props) => {
8080
<ScrollSpy
8181
// parentScrollContainerRef={parentScrollContainerRef}
8282
activeClass="ss-active-demo-2"
83-
scrollThrottle={100}
83+
offsetBottom={100}
84+
scrollThrottle={80}
8485
useBoxMethod
8586
>
8687
<Center id="section-1" backgroundColor="orange" height="150vh">

0 commit comments

Comments
 (0)