Absolutely positioned element does not work with interactive components

See the video below

Could you share a link to an example file?

Okay, I managed to recreate the same behavior, and I found several ways to solve this problem.

Method 1:
Add a “surface” instance to your component.

Method 2 (as in your example):
Wrap the “surface” instance in a frame with Auto Layout and set that frame to an absolute position.

1 Like

Here you go - https://www.figma.com/file/kCwtLDyifLUwAe8xunAaa0/Accordion-Test?node-id=0%3A1

thanks mate, method 2 works, much apprecitated!

the first one is under considiration, I want to add multiple accordion instances on top of the surface to form a card

1 Like

Well, seems like wraping up the surface with auto layout frame is the way. I tried to add auto layout to the surface itself, however it does not work on component instance somehow

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.