Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slot autolayout spacing value overriding component spacing value #2025

Open
aweell opened this issue Jan 20, 2025 · 0 comments
Open

Slot autolayout spacing value overriding component spacing value #2025

aweell opened this issue Jan 20, 2025 · 0 comments
Labels
bug 🐞 Something isn't working

Comments

@aweell
Copy link
Collaborator

aweell commented Jan 20, 2025

Describe the bug

https://www.figma.com/design/Wc0g7aiWBGJnRTyvVEnOuF/Test-slot-overriding-autolayout-spacing?node-id=2-12395&t=M4AS2NkmC2OkTG7t-1

Some components slot is overriding the value of spacing of the outter layer of the component replaced putting the spacing value the slot has instead changing to what the component defines.

The components with this slot behaviour identified are:

  • Boxed Row [D]
  • Data Card [D]

What libraries are you seeing the problem on?

No response

Steps to reproduce

  1. Take a Data Card [D] from assets
  2. Replace the slot with a component with a vertical spacing or horizontal different than 8
  3. See that in one direction (the same the spacing is defined in the slot by default) the spacing of the component replaced changes.

Expected behavior

The component's autolayout spacing values shouldn't be overrided by slot ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant