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
Add feature to have horizontal lazy-load #231
Conversation
feat(Lazyload): add horizontal viewport observer.
Starving for this PR merge 😃 |
@ameerthehacker is there any chance to merge this PR? I think horizontal support is one the top missing features in this great lib. Thank you. |
Nope @svobik7, it looks great @ianwensink Thanks for the contribution, will push a release by this weekend! |
@svobik7, @ianwensink can anyone of you create a pull request for updating the docs? |
Here #233 it is @ameerthehacker. When would you publish new release, please? |
@ameerthehacker, waiting for horizontal lazy-load feature. Please publish new release. |
@ianwensink, @svobik7, @MandeepKalkhanda , @jasonslyvia, @twobin a new release 2.6.1 has been released to npm which contains support for horizontal scrolling and docks related to the same. |
awesome, finally it happens in 2019! |
This PR will add a way to horizontally lazy-load items. This is useful for instance, when working with a carousel.
Also, it fixes an error when using SSR frameworks like Next or react-tree-walker. They offer a way to unmount components on server, which causes react-lazyload to throw a lot of error since window is used in the componentWillUnmount.