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

ensure 'parentNode' is not NULL in translate3d #1044

Merged
merged 2 commits into from
Jan 11, 2019

Conversation

panthony
Copy link
Contributor

@panthony panthony commented Jan 11, 2019

Fixes #1040
Fixes #1034

@miguelcobain
Copy link
Owner

I don't see any problem with adding these checks.
But I'm wondering how is it possible for parent to not exist.
The default parent should always be there. Maybe this happens when you specify a custom parent?
Did this error pop up in a test?

@panthony
Copy link
Contributor Author

@miguelcobain This error was reported in my sentry for some user using Safari on an iPhone.

The web is dark and full of messy plugins manipulating the DOM beneath your feet, we should always be prepared!

@miguelcobain
Copy link
Owner

@miguelcobain miguelcobain merged commit 12d6c7a into miguelcobain:master Jan 11, 2019
@panthony panthony deleted the fix/destroyed branch January 11, 2019 15:31
@johngulb
Copy link

johngulb commented Jan 11, 2019

@panthony You're timing on fixing this bug could not have been better! Thank you so much!

@xtagon
Copy link
Contributor

xtagon commented Feb 1, 2019

Thanks so much for this fix! My test suite was failing randomly/intermittently and I was having a hard time tracking it down. This was it.

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

4 participants