Framer Motion useInView()

const introContainerRef = useRef<HTMLDivElement>(null);
const introContainerRef = useRef<HTMLDivElement>(null);
const introContainerInView = useInView(introContainerRef, {
margin: "100px 0px 0px 0px",
});
const introContainerInView = useInView(introContainerRef, {
margin: "100px 0px 0px 0px",
});
any idea why this is not adding 100px of margin until the introContainerInView will become true?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server