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) {
4848 }
4949 } , [
5050 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 ,
5359 props . rotate ,
5460 props . rotateX ,
5561 props . rotateY ,
@@ -58,15 +64,13 @@ export function useParallax<T extends HTMLElement>(props: ParallaxProps) {
5864 props . scaleX ,
5965 props . scaleY ,
6066 props . scaleZ ,
67+ props . shouldAlwaysCompleteAnimation ,
68+ props . shouldDisableScalingTranslations ,
6169 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 ,
6971 props . targetElement ,
72+ props . translateX ,
73+ props . translateY ,
7074 ] ) ;
7175
7276 return { ref, controller, element } ;
You can’t perform that action at this time.
0 commit comments