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

Error: Cannot read property removeChild of undefined/null expression #36

Open
dwieringa opened this issue Apr 30, 2022 · 0 comments
Open

Comments

@dwieringa
Copy link

In production, I have Rollbar sometimes reporting Cannot read property removeChild of undefined/null expression from the following line:

this.parentElement.removeChild(this);

I noticed that the other reference to removeChild first verifies that the parentElement is defined. This one does not.

I don't have time to submit a PR at the moment, but thought I would capture this in case others run into the same thing or someone has time fix.

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

1 participant