Skip to content
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

setting overflow: hidden on the html, body and then pressing keyboard key throws #28

Open
Maximilianos opened this issue Feb 17, 2016 · 0 comments
Labels

Comments

@Maximilianos
Copy link

Error thrown:

Uncaught TypeError: Cannot read property 'clientHeight' of undefined
webpack:///./~/smoothscroll-for-websites/SmoothScroll.js:401

Use case:
I have smoothscroll active on a given page
I have a modal script that when it opens will set the html & body to overflow:hidden;
Problem:
When a key is pressed on the keyboard with the modal open the aforementioned error is thrown

@gblazex gblazex added the bug label Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants