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

lazy loading images don't load when deep linking to below the fold #1983

Closed
pirco opened this issue Apr 25, 2016 · 4 comments
Closed

lazy loading images don't load when deep linking to below the fold #1983

pirco opened this issue Apr 25, 2016 · 4 comments

Comments

@pirco
Copy link

pirco commented Apr 25, 2016

changed "src" attribute to "data-src" on images placed (way) below the fold.
lazy loading as expected when you start at the top and scroll down.
but when deeplinked to the bottom section, the images don't load until you start scrolling 1px

(temporary deep link: http://dev.marinersinncambria.com/#Lifestyle )

@alvarotrigo
Copy link
Owner

(temporary deep link: http://dev.marinersinncambria.com/#Lifestyle )

Which section are you talking about?

Steps to reproduce the problem required.

@pirco
Copy link
Author

pirco commented Apr 25, 2016

sorry, the link was VERY temporary...
I re-enabled it and now the issue can be recreated by clicking the link.

http://dev.marinersinncambria.com/#Lifestyle

note: the div.section with lazyloading images is currently the last. when moved up one or two sections the images load as expected. tested on mac safari 9.0.3, chrome 49.0.2623, FF 45.0.2

@alvarotrigo
Copy link
Owner

It will be solved with in a future version of fullpage.js once a better lazy loader is implemented.
One that will also lazy load adjacent sections and slides.

@alvarotrigo
Copy link
Owner

I'll close the issue as we are treating that new lazy loading enhancement here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants