Skip to content
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

$effect.tracking() is inconsistent for custom transition function #13773

Closed
Azarattum opened this issue Oct 22, 2024 · 0 comments · Fixed by #13775
Closed

$effect.tracking() is inconsistent for custom transition function #13773

Azarattum opened this issue Oct 22, 2024 · 0 comments · Fixed by #13775
Assignees

Comments

@Azarattum
Copy link
Contributor

Describe the bug

Fro intro it is true, for outro false.

function customTransition() {
  console.log($effect.tracking()); 
}
<div transition:customTransition>clicks</div>

Originally reported here.

Reproduction

https://svelte-5-preview.vercel.app/#H4sIAAAAAAAAA11OS26EMAy9SurOAiQ0dM0EpLnD7EoXTHCQNcFBxCBVUe5ehX7VhSX7-f0iWHIYoHmNwMOM0MB1WaACeV_yEXZ0glBB8NtqMqKDWWmRrudeHIraKdDdoWrVKcggWLyUl_zLYzc2Qp6V2YL4-bYOHCgDRaniQRLjOXiHZ-en4oTWopGzrIN5EE9FWV5UpqWedf2by_q-iXhWno0j82hjUaq2-1Pl6WtN3c1Pk0NdfyoOdXwm-81N2V6PtCv5Kdf8b9sdKUHXI-1dz7Emm6CC2Y9kCUdoZN0wvaUP1krN5U0BAAA=

Logs

No response

System Info

n/a

Severity

annoyance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants