Remove DOM tree modifications from GLIntersectionObserver
IntersectionObserver
is an inert tool that allows reacting to elements intersecting in the browser's DOM.
They way it has been implemented causes active changes to the DOM tree (by inserting an arbitrary div
node into the tree with every use).
This DOM node is not used (as it should not be, since IntersectionObserver
s are logic and reactive code, not User Interface).
GlIntersectionObserver
should not modify the rendered tree of any consuming application.
Edited by Thomas Randolph