Skip to content
This repository was archived by the owner on Nov 27, 2022. It is now read-only.

Commit 596c142

Browse files
committed
fix: update default velocity impact value
1 parent 1c797e6 commit 596c142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pager.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const DIRECTION_RIGHT = -1;
7979

8080
const SWIPE_DISTANCE_MINIMUM = 20;
8181

82-
const SWIPE_VELOCITY_IMPACT = 800;
82+
const SWIPE_VELOCITY_IMPACT = 0.01;
8383

8484
const SPRING_CONFIG = {
8585
stiffness: 1000,

0 commit comments

Comments
 (0)