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

Actions Called Before Node Is In DOM #4186

Closed
ghost opened this issue Dec 30, 2019 · 5 comments
Closed

Actions Called Before Node Is In DOM #4186

ghost opened this issue Dec 30, 2019 · 5 comments

Comments

@ghost
Copy link

ghost commented Dec 30, 2019

To Reproduce
https://svelte.dev/repl/48518636976644f6a61468544055b9fe?version=3.16.7

Expected behavior
https://svelte.dev/repl/48518636976644f6a61468544055b9fe?version=3.16.6

Information about your Svelte project:

  • Your browser and the version: Chrome 79
  • Your operating system: MacOS
  • Svelte version: 3.16.7
  • Whether your project uses Webpack or Rollup: Rollup

Severity
Low. Issue not present in 3.16.6.

@tanhauhau
Copy link
Member

Duplicated issue #4166

@ghost
Copy link
Author

ghost commented Dec 30, 2019

This isn't a duplicate of #4166 given its current title and description.

@Conduitry
Copy link
Member

It sounds like the same issue to me. In the other one, the reason parentNode wasn't defined was because the action was getting called before the node was inserted into the DOM.

@ghost
Copy link
Author

ghost commented Dec 31, 2019

No doubt the immediate cause is the same. I was implying that #4166 doesn't reflect the scope of the issue and needs to be amended.

@pngwn
Copy link
Member

pngwn commented Jan 1, 2020

It’s identical in every way.

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

No branches or pull requests

3 participants