We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 803e399 commit bc99727Copy full SHA for bc99727
.gitignore
@@ -6,3 +6,4 @@ node_modules
6
docs/.vuepress/dist/
7
8
yarn.lock
9
+package-lock.json
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "tua-body-scroll-lock",
3
- "version": "0.2.1",
+ "version": "0.2.2",
4
"description": "🔐Body scroll locking that just works with everything",
5
"main": "dist/tua-bsl.umd.js",
"module": "dist/tua-bsl.esm.js",
src/index.js
@@ -60,6 +60,7 @@ const setOverflowHiddenMobile = () => {
60
61
$body.style.top = `-${scrollTop}px`
62
$body.style.width = '100%'
63
+ $body.style.height = 'auto'
64
$body.style.position = 'fixed'
65
$body.style.overflow = 'hidden'
66
0 commit comments