Why ChakraUI provider cause react-spring/parallax not shown

77 views Asked by At

This is just some newbies question, but I'm very confused. What I know is Chakra UI just some style applied to the component. But I found that I can't use react-spring parallax with ChakraUI. I have done some research and found nothing about how to make it work.

I have a normal working React-spring Parallax website, but when I apply <ChakraProvider> </ChakraProvider>, everything disappear. No error shown, but my parallax effect is disappear too

Anyone know how to apply or use react-spring, or any component that 'conflict' with ChakraProvider?

2

There are 2 answers

0
Farid Cenreng C038DSX0869 On BEST ANSWER

After some trial and error. Seems like react-spring/parallax have some conflict with chakra ui style. At the end, I use Framer Motion because it is compatible with Chakra UI

1
Nirmal Savinda On

Try removing the <React.StrictMode> wrapper from index.js