-
Notifications
You must be signed in to change notification settings - Fork 98
Open
elm/virtual-dom
#187Description
elm.fullscreen attaches to body
. Sadly a lot of chrome extensions actually inject things into the body
. This causes errors because the virtual dom goes out so sync with the real dom (that's been messed with). This causes the following error:
(this is an onClick event however anything that changes the dom will mess with it)
Main.elm:6446 Uncaught TypeError: Cannot read property 'childNodes' of undefinedaddDomNodesHelp
@ Main.elm:6446addDomNodesHelp
@ Main.elm:6454addDomNodesHelp
@ Main.elm:6454addDomNodesHelp
@ Main.elm:6454addDomNodes
@ Main.elm:6400applyPatches
@ Main.elm:6482updateIfNeeded
@ Main.elm:5855requestAnimationFrame (async)registerVirtualNode
@ Main.elm:5834(anonymous function)
@ Main.elm:3000step
@ Main.elm:2737work
@ Main.elm:2793setTimeout (async)enqueue
@ Main.elm:2782rawSend
@ Main.elm:2633enqueue
@ Main.elm:3012eventHandler
@ Main.elm:6049
I would propose that Elm.fullscreen actually make a "elm-html" div to embed itself into rather using the body itself. I think this would help prevent people from messing with it.
Metadata
Metadata
Assignees
Labels
No labels