-
Notifications
You must be signed in to change notification settings - Fork 122
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
el.clientWidth and el.clientHeight doesn't take into account on Chrome #33
Comments
Could this be related to the fact that this library doesn't seem to work very well on Chrome iOS but works fine for Safari iOS? This is weird because Chrome iOS uses the same rendering engine that Safari iOS is using. |
I'm using Chrome on OSX |
@huugooo I assumed you were talking about a desktop OS. I just thought that perhaps Chrome iOS and Chrome MacOS might share some code. |
I have the same problem on (Desktop) MacOS (with Chrome, Safari, and Firefox).
by
is it correct ? (I didn't/can't test on other OS or web browser). |
There is an issue with el.clientWidth and el.clientHeight.
On Chrome 69, theses functions always return 0 (in my case), even if I set style="width:300px;height:300px" on my box.
So the script doesn't know how to get width and heigth.
The text was updated successfully, but these errors were encountered: