C
C
CortezEmilioCardinal2020-08-25 01:15:43
css
CortezEmilioCardinal, 2020-08-25 01:15:43

Error connecting SVG with object?

5f443bf94944a186486827.png
I connected an svg image using a tag and I get these errors in the latest version of Google Chrome:
1) Uncaught TypeError: Cannot use 'in' operator to search for 'animation' in undefined .
2) Uncaught ReferenceError: ReactDOM is not defined
at index.js:1 .
I did not connect any scripts, all the html code is in the picture.
FireFox and older versions of Google Chrome don't have this error.
If I insert the svg code not through, but through or with the solid code of the svg image itself, everything works.
Who faced the problem when adding svg images with the help gives these errors, please write how you can solve this problem.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2020-08-25
@Aetae

js error. If js is not yours, open the svg source, maybe someone pushed the script there (yes, svg can do that). It is also possible some kind of browser extension brains soars.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question