Remove unneeded div
when host could make the same function
#1139
Unanswered
jorgecasar
asked this question in
Ideas
Replies: 2 comments
-
Hmm good one, I think normally we wouldn't put a container div around, not sure if there was a specific reason to add it. I'll investigate it a bit and add some docs if it's needed, or move this discussion to issues as a "bug" if we can safely get rid of it 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Okay, I checked, seems fine to change it but it would be I also verified in our extension layer it works fine like this :) So yeah, a PR is welcome! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some components has a div that wrap all the Shadow DOM, and host could do this action.
For example accordion:
Could be replaced by this, and change
I guess there are an issue with IE11 and slotted selector, and maybe we have to prefix with some * the slotted selector like:
* ::slotted()
Beta Was this translation helpful? Give feedback.
All reactions