-
Notifications
You must be signed in to change notification settings - Fork 235
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
fix scroll bug is page is using SVG #1331
base: master
Are you sure you want to change the base?
Conversation
…e page so code can't find document.body and can't scroll
@dmitrydvorkin thank you for sending a fix suggestion! Cheers |
@dmitrydvorkin thank you! Could you guide me in that page and explain what I should do to get the wrong behaviour? (if possible to remove the extra HTML not relevant to the problem would be awesome!) |
simple: just try to press submit button at the end of the page. by my humble opinion condition "par.getSize().y != par.getScrollSize().y" is not really needed bacause in most cases you'll need to scroll whole document, not the DIV with overflow-y enabled. in other case (you need to scroll DIVs) problem too complex and I can't offer the solution to mootools developers. |
also you may see that width of some images is not integer. It's my designer requirement and it's allowed in css. |
@dmitrydvorkin thank you for feedback. I would like to make a example that we can use as a test case, so we can make tests for it and fix the problem. Something like this: http://jsfiddle.net/9ezmb51z/ If you have the time would be great if you can adapt that jsFiddle to reproduce the problem. It has Thank you! |
look: I just added |
par.getSize().y
gives float after More >= 1.5.1 and SVG is used on the page so code can't finddocument.body
and can't scroll