solid-devtools icon indicating copy to clipboard operation
solid-devtools copied to clipboard

detector error

Open j4k0xb opened this issue 2 years ago • 1 comments

This error happens on many sites like https://youtube.com:

detector.ts-ca0eb97c.js:12 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'firstElementChild')
    at detectSolid (detector.ts-ca0eb97c.js:12:37)
    at detector.ts-ca0eb97c.js:66:1

image

Seems like the extension runs too early, before body exists

j4k0xb avatar Dec 05 '23 00:12 j4k0xb

Yeah I've noticed that as well, solid detection causing exceptions on non-solid pages. Thanks for reporting though.

thetarnav avatar Dec 05 '23 08:12 thetarnav