-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🐞] Qwik + Astro, useVisibleTask$ does not work when using VT #6084
Comments
Hey @ITakayuki, please could you re-create your issue in the qwik/astro repository 🙏? This way all of the Qwik/Astro integration issues stay in the same place and don't get duplicated. |
@maiieul https://discord.com/channels/842438759945601056/1224276803267330069/1224276803267330069 |
I see. Sorry, that looked to me like a Qwik/Astro meta-framework issue. If it is a bug in Qwik core then it belongs here indeed 👍. |
It seems to me that the view transition causes the intersection observer not to work. Feels like a bug to me |
Close to move to issue QwikDev/astro#80 |
Which component is affected?
Qwik Runtime
Describe the bug
When using useVisibleTask$ in a Qwik component, if is set, useVisibleTask$ is not executed on page transitions in qwikdev/astro.
track, etc. will not work as well.
Please let me know if there is any workaround🙏
Thanks.
code
packages
Issues
track
andcleanup
Reproduction
https://codesandbox.io/p/devbox/tvj6y4?file=%2Fsrc%2Fcomponents%2FQwikComponent.tsx%3A4%2C26
Steps to reproduce
<ViewTransition />
in.astro
useVisibleTask$
is not executedSystem Info
Additional Information
https://discord.com/channels/842438759945601056/1224276803267330069/1224276803267330069
The text was updated successfully, but these errors were encountered: