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

<Element creates unnecessary sublayer #720

Open
matart15 opened this issue Jan 1, 2025 · 0 comments
Open

<Element creates unnecessary sublayer #720

matart15 opened this issue Jan 1, 2025 · 0 comments

Comments

@matart15
Copy link

matart15 commented Jan 1, 2025

Describe the bug
Because <Element creates unnecessary sublayer It is impossible to change layout

To Reproduce
Steps to reproduce the behavior:

  1. create component using Element ( children in mind )
  2. in editor ui create that component with children
  3. view created html with chrome debugger
  4. try changing flex-row or flex-col

Expected behavior
not create sublayer between component and it"s children

Screenshots
Screenshot 2025-01-01 at 22 35 20

Screenshot 2025-01-01 at 22 35 27

Additional context
I tried setting is="section" to is={ShadcnButton}, is={<>}, is={Container} none works

Your environment

Software Version(s)
craft.js
React
TypeScript
Browser
npm/Yarn
Operating System
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant