Skip to main content
Question

Any way to have a mask affect mouse enter/leave?

  • September 26, 2024
  • 2 replies
  • 40 views

Marcus_Harvey

I have a component with while hovering, and click interactions on it. The component is a simple square that is a different color for default (rest), hover and active (clicked) states.

If I mask an instance of this component with a vector mask the hover and click triggers do not honor the mask i.e they trigger in the rectangular “hit box” rather than only within the vector mask.

Is this just how it is or am I missing something?

This topic has been closed for comments

2 replies

Luke-Itineris
  • Active Member
  • 128 replies
  • September 30, 2024

Can you share the file please?


Marcus_Harvey
  • Author
  • New Participant
  • 10 replies
  • October 15, 2024

I cannot I’m afraid. But if you follow the link above Figma support state that irregular regions are not supported for mouse events.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings