mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-03 16:38:34 +02:00
Reduce spring animation mass
This commit is contained in:
parent
f38392e9b0
commit
f86b622694
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ export const ControlledScrollDiv: React.VoidFunctionComponent<{
|
|||
className="flex h-full"
|
||||
transition={{
|
||||
type: "spring",
|
||||
mass: 0.5,
|
||||
mass: 0.4,
|
||||
}}
|
||||
initial={{ x: 0 }}
|
||||
animate={{ x: scrollPosition * -1 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue