Components with child components breaks styling when used as shortcode

Hey Themeco,

I have a parent component that uses some child components.
Now when I instantiate that parent component via short code only the first instance is ok. In all other instances the styling of the child components gets lost.

In the screenshot you can see three instances of thge parent component. Each is instantiated in a Raw Content component with the same shortcode.

Best
René

I appreciate the notes on the scenario with shortcodes. I believe I have a fix, I’m just going to play around with it a bit more. I will keep this thread updated, but hopefully releasing in a week or two. Have a great week!

@charlie This would be really great!
This way we can add features like async “Load More” buttons in blog archive pages or category filters without reloading the page and use all the design features of Cornerstone like nested components (for an atomic design approach).

Really looking forward! Let me know if I should test anything in advance. I’m happy to help.

Hi @raye,

My colleague is working on it, and we will inform you on this.

Thanks

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