project_professional_portfolio icon indicating copy to clipboard operation
project_professional_portfolio copied to clipboard

Navbar animation flickering

Open BeldimanAR opened this issue 2 years ago • 2 comments

I have a bug with the framer motion. My navbar when it opens with the nice animation at first has a flicker. Anyone had this problem before?

BeldimanAR avatar Jan 16 '23 12:01 BeldimanAR

Change from whileInView= to animate=

erikahendsel avatar Feb 06 '23 08:02 erikahendsel

this because of the event propagation, you can try to handle the onClick events with a funtion when you stop the propagation before setting the toggle state check the following changes #7

HoussamMrabet avatar Feb 11 '23 23:02 HoussamMrabet