I'm working on a web app that uses web components built by StencilJS. All of the components have Shadow DOM turned on. Many of the components use 'slots' to accept child content.
I'm having some trouble using Flexbox to lay out this app. A scenario I keep running into is, I want one component to serve as a Flexbox container, and its children to be Flex items.
I suspect Shadow DOM is blocking my Flexbox. Is there a way to make Flexbox work with web components and Shadow DOM?
Example:
<web-component-a>
<web-component-b></web-component-b>
<web-component-b></web-component-b>
<web-component-b></web-component-b>
</web-component-a>