-
Notifications
You must be signed in to change notification settings - Fork 439
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
Images loading are causing scroll height to be off. #85
Comments
You are right, one future solution should be to calculate it on scroll. You can use DirectLink with element id to scroll. See the readme file :) |
I've got the same problem, only it manifest in a different way. Scrolling does not make a class active at the right time. Thats because I've got background images within my elements, and the rect size is calculated before those images load up. What can I do to get correct rectangle calculation and thus correct active class activation? Thanks |
I think this PR will solve your issues, I just haven't had time to validate it yet. |
Actual problem |
Unable to verify now, as we've moved on. |
This is still an issue... Anyone has a solution? |
Is there a solve for this common issue?
Seems like by default the scroll height is calculated before all the images are loaded with is causing the scroll to be off, sometimes by alot.
The text was updated successfully, but these errors were encountered: