diff --git a/README.md b/README.md index d83aacb..f71aeef 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Minified version size: ~4kb #IMPORTANT! If your page body requires `height: 100%`, your page will scroll to the top([#20](https://github.com/VodkaBears/Remodal/issues/20), [#21](https://github.com/VodkaBears/Remodal/issues/21)), because remodal sets `overflow: hidden` to the html and body when opening to hide a scrollbar. There is no problem if your content doesn't overflow your full height body container, otherwise you should do something of this: * Try to set `min-height: 100%` instead of `height: 100%`. If it doesn't help, read next. -* Set `html, body { overflow: auto !important }`. Your page won't be locked and will be scrollable always. +* Set `html, body { overflow: auto !important }` or remove overflow property of the `remodal_lock` class in the CSS file. Your page won't be locked and will be scrollable always. ## Notes * All modern browsers are supported.