SOLVED: Unlink component breaks Nested component

Browser: Chrome 137.0.7151.41
OS: Windows

Hi team,

After we unlink a component, the Nested component breaks.

Nested component broken

Just out of curiosity, once this bug is fixed, what happens to the Nested component after the parent component is unlinked? Will it still be a component, or will it be unlinked like the parent component?

Thank you

Hey @HOSEIN,

is this happening only on imported components, like you reported here:

Or you can also replicate this on a component that you created inside the builder?

I think it should be unlinked, just like parent one.

Best regards,
Matej

Hi Matej,

No, I tried this before reporting it. It doesn’t matter if the component is imported or newly created.

Ahh, I see. I missed that it needs to be a nested component. My bad. :grimacing:
It might be the same issue, but I still created a separated internal task for this.

Also, I’m not sure if we will decide whether the nested one should also “unlink” or not.

Thank you,
Matej

I think it should be unlinked, just like parent one.

I think it would make more sense if the child component remained as a component by unlinking the parent component. In fact, this is the behavior that also exists in webflow component.

I suggest that if you have time, you should definitely analyze the Webflow component. It can help a lot in improving the component in bricks. For example, in Bricks we can’t create a new component inside a component. We have to create it outside the component first and then add it inside another component. And many other things that need careful consideration.

Best regards

We’ve fixed this issue in Bricks 2.0.2 now available as a one-click update in your WordPress Dashboard.

Please take your time to read the changelog entry before updating: Bricks 2.0.2 Changelog – Bricks, and let us know if you continue to experience issues.