File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,14 @@ export function useParallax<T extends HTMLElement>(props: ParallaxProps) {
48
48
}
49
49
} , [
50
50
props . disabled ,
51
- props . translateX ,
52
- props . translateY ,
51
+ props . easing ,
52
+ props . endScroll ,
53
+ props . onChange ,
54
+ props . onEnter ,
55
+ props . onExit ,
56
+ props . onProgressChange ,
57
+ props . opacity ,
58
+ props . rootMargin ,
53
59
props . rotate ,
54
60
props . rotateX ,
55
61
props . rotateY ,
@@ -58,15 +64,13 @@ export function useParallax<T extends HTMLElement>(props: ParallaxProps) {
58
64
props . scaleX ,
59
65
props . scaleY ,
60
66
props . scaleZ ,
67
+ props . shouldAlwaysCompleteAnimation ,
68
+ props . shouldDisableScalingTranslations ,
61
69
props . speed ,
62
- props . opacity ,
63
- props . easing ,
64
- props . rootMargin ,
65
- props . onProgressChange ,
66
- props . onChange ,
67
- props . onEnter ,
68
- props . onExit ,
70
+ props . startScroll ,
69
71
props . targetElement ,
72
+ props . translateX ,
73
+ props . translateY ,
70
74
] ) ;
71
75
72
76
return { ref, controller, element } ;
You can’t perform that action at this time.
0 commit comments