Skip to main content
Question

Absolutely positioned element does not work with interactive components


Pavel_Kiselev

See the video below

This topic has been closed for comments

6 replies

tank666
  • 4868 replies
  • June 21, 2022

Could you share a link to an example file?


tank666
  • 4868 replies
  • June 21, 2022

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.


Pavel_Kiselev
  • Author
  • Power Member
  • 438 replies
  • June 21, 2022

Pavel_Kiselev
  • Author
  • Power Member
  • 438 replies
  • June 21, 2022

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


Pavel_Kiselev
  • Author
  • Power Member
  • 438 replies
  • June 21, 2022

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


  • 0 replies
  • July 21, 2022

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


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