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
When using inside a conditional block in Qwik, the web application and Qwik Playground enter an infinite loading state. Removing the condition around resolves the issue.
Which component is affected?
Qwik Runtime
Describe the bug
When using inside a conditional block in Qwik, the web application and Qwik Playground enter an infinite loading state. Removing the condition around resolves the issue.
Reproduction
https://qwik.dev/playground/#f=7VdNS%2FQwEL6%2FvyJvEEmldhUP4scqCB68iR7Fg2LEatyKZRUp%2Fe8%2BM5OkSbcLXgV7WNrsZOaZj8w8SYtmf%2FcgZgoCGyV%2BhjKgr1Ce9J5Wq%2F%2BWGe0%2F0jZY%2FvNZ0uOsakTqR6XnucJT83nN%2FfEMDWQ%2BGDWPd6618ClI1kQBZDqlYlonMnH2rJFbdcSYTqZ%2ByQ1usXxTfYSo5C8PegBQoVUsCRvLiOlhrs%2BTsZr4S0%2BOT9RAfqyZHFKqL9Xezk60Iui8wrQZm2i64FDQyY0RoWF92bQYLxyMoR1JBw%2FeZ057h9CFJDPYKnHI4bOxWPg3g%2FxtgiI%2FFsQ4Y3Ez64zVHUlXlxZJeLIyiXH7P7EsoPyudXnw2fBdu8KQPHeWXs%2B%2BLh6M5nxsy9jWxWn1CMHWeH%2FlQXJ2OTlxoej9%2B3BiuymA6lRpsMKFVodKg%2B60VoedkYpLyqFgtoUIvjZgC0QRa%2Bpw6LFEOBaNAi9o3tXWLGzvpqxtbvrgZ32JP9jNLCLUveeaMqmz9XsMtEPWN%2B%2BGYg12QwKZpCOBxn6UyjqOuBnXNtJmnT9AqYLY2BhaqNPMggcQS3ps%2FxLdHm0eANg0V5sDKcBaVVVy3xnvubLPTHsJtQDOBPKaTVbpjnPS2erVti2oS38845XxZraZLWZOCwKmg4SAriMTdTo6RZmBpVsFh0ogTRVuLcZYV6p60jOvwdXqxX4hrz38cXDE1VMqixFwcW%2FVfHZKcCzW5FhGVhKQGCoaY8XRH%2FX4fdTjGw
Steps to reproduce
Use the following code in a Qwik component:
Open the app in a browser or Qwik Playground.
Click the "open" button to toggle the search bar and render the component conditionally.
Expected Behavior
The component should load and resolve normally when wrapped in a conditional block.
Actual Behavior
The application enters an infinite loading state. This behavior is observed in both the browser and Qwik Playground.
Removing the condition around prevents the issue.
Workaround
Currently, the only way to avoid the issue is to not wrap in a conditional rendering block.
Environment
Qwik Version: 1.11.0
Browser: Chrome newest
Qwik Playground: [Link to Playground if applicable]
Additional Context
It appears that the conditional rendering of conflicts with how its state is managed internally, causing an infinite loop of updates.
Please let me know if additional details or reproduction steps are required!
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: