Closed yigityuce closed 6 months ago
since it has been merged, this issue is resolved and I'm closing it. Thanks everyone for their supports 🚀
hey @christian-bromann please don't take it as a push but do you know when will be the next version released?
It should be this week.
Prerequisites
Stencil Version
4.18.1
Current Behavior
as you already know #5702 and #5749 issue fixes are already merged & shipped with v4.18.1.
One last time (I hope) we need to update this logic. I found out we don't add the intermediate components' scope ids to the children elements. Think about having a component structure like below:
given that component structure I have these style files:
and as a result of compilation I want to have all of those styles for the
my-list-item
component which is used within the timepicker:the problem is only the root component's scope id (
sc-my-timepicker
) is added to the child component. But all the parent components' scope ids must be added. Otherwise, when you use it in another parent, the styles get broken since it only receives the most parent components scope id.P.S: I reused the existing reproduction repo by updating it. Here you can find the updates.
Expected Behavior
System Info
Steps to Reproduce
Reproduction repo: https://github.com/yigityuce/stencil-v4-sc-nested-css-scope-id
Code Reproduction URL
https://github.com/yigityuce/stencil-v4-sc-nested-css-scope-id
Additional Information
No response