Prerequisites
Stencil Version
4.0.0 (also seen on 3.4.0)
Current Behavior
StencilJS is adding the attribute hidden to a slot that it shouldn't. I wrote a repro accessible at the url below. There's quite a bit going on, but if I tried to simplify it further, the problem went away, so this is as minimal as I could make it. Basically I have three components:
text-input
input-base
input-group

For some reason, StencilJS adds the hidden attribute to the "message" slot in the input-base component.
I noticed that if I use input-base directly, it works as expected. It also works as expected if I add a wrapper div in input-base.
Expected Behavior
The slot should not be hidden.
System Info
No response
Steps to Reproduce
Clone the repo, yarn && yarn start.
Code Reproduction URL
https://github.com/asik/stencil-repro
Additional Information
No response
Prerequisites
Stencil Version
4.0.0 (also seen on 3.4.0)
Current Behavior
StencilJS is adding the attribute hidden to a slot that it shouldn't. I wrote a repro accessible at the url below. There's quite a bit going on, but if I tried to simplify it further, the problem went away, so this is as minimal as I could make it. Basically I have three components:
For some reason, StencilJS adds the
hiddenattribute to the "message" slot in theinput-basecomponent.I noticed that if I use
input-basedirectly, it works as expected. It also works as expected if I add a wrapper div ininput-base.Expected Behavior
The slot should not be hidden.
System Info
No response
Steps to Reproduce
Clone the repo,
yarn && yarn start.Code Reproduction URL
https://github.com/asik/stencil-repro
Additional Information
No response