Has anyone discovered how to hide Dropzones that are nested within a component? Therefore, hiding the Dropzones that are not currently editable / accessible from the left side layer structure.
Example:
I have a page component, with a couple components inside, and this monstrosity is built, even though none of those Dropzones are editable right now without editing the component itself.
Yes. I’ve tried hiding the parent container and the actual dropzone. The only thing that changes is that when the condition is met, the dropdown icon to show its content appears. The dropzone itself is always present.
Here’s a screenshot. As you can see, just with Page → View → Section components, the layers are huge. Based on the actual layer structure I would aim for these to be around 4.
Hi Bruno, let me see if I understand this correctly.
On your project the only elements that can’t be collapsed on your element tree are the Dropzones?
1- How did you create this dropzones? What elements are they?
2- This might be indeed because you are using a component inside a component, What happens if you only use 1 main component instead of 2 nested ones? Does this behaviour keeps happening?
That’s mainly the naming I’ve given to the main blocks I’m using for the UI System. I’ve gone ahead and recorded the following video for your consideration. I hope it makes everything clearer:
hey Bruno, thank you for sharing, let me just share here as well.
Dropzones cannot be hidden from the layout tree, and even more complex when they are nested. The only difference shown in the layout tree when they are rendered or not-rendered is the right-arrow before the dropzone element: the arrow will appear if the dropzone is rendered, and disappear if the dropzone is not rendered.