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

Add guard against missing original.parentNode #1084

Merged
merged 1 commit into from
Jun 14, 2019

Conversation

backspace
Copy link
Contributor

This is a naïve fix for a problem I was experiencing in tests after updating Ember Paper, you can see an example here:
https://travis-ci.org/backspace/prison-rideshare-ui/builds/530523899#L578

It seems somewhat akin to what’s discussed in #925, but I’m definitely at the limit of my understanding of what’s happening. I only encountered this problem in tests.

Let me know if I can provide any details from the application that might help solve this differently.

@backspace
Copy link
Contributor Author

I should have linked to the tests for the following commit when I changed to this fork and the appendChild message goes from 65 instances to 0.

It looks like the test failures are existing and unrelated to this PR 😞

@miguelcobain miguelcobain merged commit 1d5680c into miguelcobain:master Jun 14, 2019
@miguelcobain
Copy link
Owner

Seems like during tests, the parent could be destroyed, and there's no need to add the cloned element for animation. Thanks.

@backspace backspace deleted the backdrop-guard branch June 14, 2019 22:35
@backspace backspace restored the backdrop-guard branch July 20, 2019 18:58
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

Successfully merging this pull request may close these issues.

None yet

2 participants