Right constraint doesn't work in instance of component

Hi folks, I’m trying to use an absolutely positioned icon in the card component. I set the position to top and right, and it only works correctly in the main component. But in the instance, this icon is only fixed at the top.

How can I achieve the similar behaviour that I have in the main component in instances?

Link to the file → https://www.figma.com/file/w2HiSDg6e9DUvwwxu5kYX5/absolutely-positioned?type=design&node-id=1%3A11&t=8x4Hz8BJ2JjqkURg-1

Hi @Tema_Zimmer Sorry to hear you’re having trouble! The forum is primarily managed by the community. Can you please reach out to the support team directly via this form for help: https://help.figma.com/hc/en-us/requests/new

Be sure to use your Figma account email, include these links to the file, and share it with support-share@figma.com so they can take a closer look.

1 Like

I noticed that you used a boolean exclude operation and set the constraints on this object. Figma doesn’t handle this correctly in instances, so you need to wrap that object in a frame, and set that frame to the necessary constraints.

1 Like

@tank666 Thanks a lot! I wrapped this icon and it works just right!

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