Skip to content

(TypeError: Cannot read properties of null (reading 'removeChild')) #627

Discussion options

You must be logged in to vote

Hi Hakenr, finally I have solved our problem and wanted to share the solution if anyone else is having the same problem.
In our case it wasn't any of the third party JS scripts we are using but instead it was a Google Chrome's language translation feature that changed the DOM from the outside. The fix was very simple, just include the "translate" attribute on the html element which prevents any translate tool from running:

<html lang="sv" translate="no">

Regards Niclas

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@niclasrothman
Comment options

Answer selected by hakenr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #625 on October 16, 2023 14:41.