Open sean-perkins opened 1 month ago
Thanks for the issue!
This project is currently maintained for the purposes of supporting Ionic Framework. At this time, only new issues & pull requests that support Ionic Framework will be prioritized. For the latest updates regarding the maintenance status of this project, please see this section of the project's README
Prerequisites
Stencil Version
4.20.0
Stencil Framework Output Target
Angular
Stencil Framework Output Target Version
v0.7.0
Current Behavior
When assigning CSS classes to the generated react component wrapper, they will overwrite any host level classes set internally by the Stencil runtime. This causes many issues/problems.
Expected Behavior
CSS classes should be appended to the existing classes. This was the previous behavior with the old component wrappers.
Steps to Reproduce
not-valid
is appended to the existing class listCode Reproduction URL
https://stackblitz.com/edit/gzdvsh?file=src%2Fmain.tsx
Additional Information
This is likely a problem in the
@lit/react
wrappers. Unsure if it is a compatibility issue with Stencil's runtime or a larger issue for the web component community. I'd suspect it would have been reported already if it impacted Lit.