Releases: memob0x/scroll-padlock
Releases Β· memob0x/scroll-padlock
v3.1.0
25 Apr 09:58
Compare
Sorry, something went wrong.
No results found
v3.0.0
01 Feb 15:06
Compare
Sorry, something went wrong.
No results found
The entire library has been rewritten to improve simplicity and maintainability.
Previously, it exported a class that observed the class attribute changes and listened for scroll and resize events to update CSS variables.
import ScrollPadlock from "scroll-padlock" ;
const scrollPadlock = new ScrollPadlock ( ) ;
document . scrollingElement . classList . add ( "scroll-padlock-locked" ) ;
It now exports a function that updates the CSS variables and can be called when needed.
import { setStyle } from "scroll-padlock" ;
setStyle ( ) ;
document . scrollingElement . classList . add ( "scroll-padlock" ) ;
v2.5.0
12 Sep 08:38
Compare
Sorry, something went wrong.
No results found
v2.4.2
14 Dec 00:27
Compare
Sorry, something went wrong.
No results found
ditched chai in favor of node 20 native assertions
dropped babel support
removed sinon dependency
updated node modules
trivial github ci enhancements
v2.4.1
14 Jul 18:30
Compare
Sorry, something went wrong.
No results found
simplified a bit the runtime complexity while building css rules
node 20 native test runner adoption
various trivial enhancements in source code
updated node modules
v2.4.0
21 Mar 18:53
Compare
Sorry, something went wrong.
No results found
scrollingElement is now used to establish what is the global element which scrolls the browser page (addresses #11 )
constructor signature changed: constructor options object, if provided, now shall be the first and only argument
documentation enhancements
v2.2.0
28 Jun 15:27
Compare
Sorry, something went wrong.
No results found
refactory
added constructor options object
v2.0.0
09 Jun 17:07
Compare
Sorry, something went wrong.
No results found
vdom compatibility
e2e tests
v1.1.2
21 Dec 22:56
Compare
Sorry, something went wrong.
No results found
Minor version (mainly changes related to npmjs registry publication)
Library renamed from "body-scroll-lock" (already taken on npmjs.com) to "scroll-padlock".
package.json adjustments.
README.md adjustments.