-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem on v2.5.8 #50
Closed
Comments
Can you share a code snippet of how it's loaded? Thank you |
Please check the following. const bodyScrollLock = require('body-scroll-lock');
const { disableBodyScroll, enableBodyScroll } = bodyScrollLock;
export default () => {
...
}; 📝 w/ webpack 📌FYIIf I delete the following line, it works fine. Line 6 in 079363b
|
Ok I'll look into it tomorrow perhaps. Sorry about that one |
Closed
This was referenced Jun 26, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In v2.5.8, I got a error on IE11.
Loading with Common JS seems to load the ESM file
es/bodyScrollLock.js
.(Related #44 )
Thanks.
The text was updated successfully, but these errors were encountered: