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

Fix the rendering issue with ssr load #148

Merged
merged 4 commits into from
Oct 20, 2019
Merged

Conversation

sirish-amatya
Copy link
Contributor

We are using this plugin to load the images only when it enters the viewport, which worked fine in non ssr mode. However, when we refreshed the page the images in the viewport was not loaded on first load. It did load when we scrolled back and forth. This issue was seen in the Chrome browser version 77.

I've made some code changes to fix this issue. Request you to review the pull request.

@Akryum
Copy link
Owner

Akryum commented Sep 24, 2019

Thanks for your PR! You edited a built file though instead of the source code.

@sirish-amatya
Copy link
Contributor Author

Thank you for letting me know. I am a noob in this space. I have rebuilt the package and updated the pull request. Do i need to do anything else?

@Burtonium
Copy link

Encountering the same issue as well.

@Akryum Akryum merged commit 9ff3239 into Akryum:master Oct 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants