Skip to main content
Solved

Clip overlay on clipped content?

  • March 26, 2021
  • 1 reply
  • 2001 views

Matthew_Moreno

I have a frame that allows for horizontal scrolling. When hovering over cards an overlay appears that changes the look of the button. However, the overlay appears even on clipped content. Is it possible to also clip the overlay?

Best answer by tank666

Since an overlay is an element that sits above other elements (for example, in CSS β€” z-index: 999), and it does not belong to a frame with included clip content, this behavior is logical.

You need to wait for the interactive components or sign up for the beta version now: β–Ά Sign up for the Interactive Components beta β†’

View original

1 reply

tank666
  • 4868 replies
  • Answer
  • March 26, 2021

Since an overlay is an element that sits above other elements (for example, in CSS β€” z-index: 999), and it does not belong to a frame with included clip content, this behavior is logical.

You need to wait for the interactive components or sign up for the beta version now: β–Ά Sign up for the Interactive Components beta β†’


Reply


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