You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think asChild makes a lot of sense to be part of the framework, as it is a powerful primitive that enables the ability for consumers to provide their own JSX. Currently, we need to create an inline component for each component that supports asChild.
thejackshelton
changed the title
[🐞] v2 - asChild behavior breaks component state in production only
[🐞] v2 - context state change breaks toggling & asChild behavior
Mar 9, 2025
thejackshelton
changed the title
[🐞] v2 - context state change breaks toggling & asChild behavior
[🐞] v2 - Context state change breaks toggling & asChild behavior
Mar 9, 2025
thejackshelton
changed the title
[🐞] v2 - Context state change breaks toggling & asChild behavior
[🐞] v2 - signal read breaks toggling & asChild behavior
Mar 9, 2025
thejackshelton
changed the title
[🐞] v2 - signal read breaks toggling & asChild behavior
[🐞] v2 - Signal read breaks toggling & asChild behavior
Mar 9, 2025
Which component is affected?
Qwik Runtime
Describe the bug
When using the asChild prop on a component, specifically in prod, the checkbox breaks (indicator no longer shows and hides)
Not sure what asChild is? Read more about it here:
https://qwik.design/contributing/composition/#what-is-aschild
Reproduction
https://github.com/thejackshelton/v2-repro-aschild/
Steps to reproduce
Reproduction steps:
working behavior:
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: