0

I'm working on a react project and i used Framer Motion and react intersection observer library to do some animations. The animations work fine enough, but I just discovered that when I give an image or text or anything in that particular component an "href" attribute link, It doesn't work, It doesn't even click, but "href" links on all other components are working, It's downright weird.

Can a Framer Motion element be made a link?? say an animated image/text for example, does 'href' attribute work on it? because mine clearly doesn't, When I remove the 'motion.div' and make it just a div, It works fine as a proper link...As anybody else noticed this or am i still missing something??

Mayowa
  • 41
  • 5

0 Answers0