Skip to content

Support `document.body`

Latest
Compare
Choose a tag to compare
@dmythro dmythro released this 06 Dec 19:04
· 1 commit to master since this release

Scrolly now can be applied directly to document.body. In this case everything inside tag, except scripts and styles, is wrapped (and then unwrapped on dispose()) in the same order. During wrap, all nodes are just moved from one parent to another, so shouldn't break anything.

Demos are updated accordingly.