This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Mike Brand
Posted Jul 17 - Read on Facebook

Quick question about how event listeners work:
I have a parent with a mouseOut event listener. If I add an onClick event listener to a child layer then when the user mouses over the child layer the mouseOut event gets triggered.

Basically I want the user to be able to click on something in a hover state.

See the wonkiness when you hover on the sidebar, then move down to click on the user icon.


Steve Ruiz

Take a google around event.stopPropagation(), could be a fix

Read the entire post on Facebook