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

Uncaught ReferenceError: current is not defined #1589

Closed
ekhaled opened this issue Jul 10, 2018 · 1 comment
Closed

Uncaught ReferenceError: current is not defined #1589

ekhaled opened this issue Jul 10, 2018 · 1 comment
Labels

Comments

@ekhaled
Copy link
Contributor

ekhaled commented Jul 10, 2018

Steps to reproduce

  1. Open gist: https://svelte.technology/repl?version=2.9.3&gist=906410361695020ab832e410780acc69
  2. Type something in the text box
  3. Look at the console for the error

This only happens when the else block has a nested component.
And, only when nestedTransitions == true.

Seems like it is referencing an undefined variable called current in Else block's p: update() method.

@boutros
Copy link

boutros commented Jul 13, 2018

I'm also running into Uncaught ReferenceError: current is not defined errors, but I'm not using transitions at all. It happens in a larger application I'm working on now, but so far I haven't been able to create a minimal example which triggers it.

ekhaled added a commit to ekhaled/svelte that referenced this issue Jul 23, 2018
@ekhaled ekhaled mentioned this issue Jul 23, 2018
Rich-Harris added a commit that referenced this issue Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants