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

Add feature to have horizontal lazy-load #231

Merged
merged 6 commits into from Apr 25, 2019

Conversation

ianwensink
Copy link
Contributor

@ianwensink ianwensink commented Apr 8, 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.

@svobik7
Copy link
Contributor

svobik7 commented Apr 15, 2019

Starving for this PR merge 😃

@svobik7
Copy link
Contributor

svobik7 commented Apr 25, 2019

@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.

@ameerthehacker
Copy link
Collaborator

Nope @svobik7, it looks great @ianwensink Thanks for the contribution, will push a release by this weekend!

@ameerthehacker ameerthehacker merged commit f9ec624 into twobin:master Apr 25, 2019
@ameerthehacker
Copy link
Collaborator

ameerthehacker commented Apr 25, 2019

@svobik7, @ianwensink can anyone of you create a pull request for updating the docs?

@svobik7
Copy link
Contributor

svobik7 commented May 6, 2019

Here #233 it is @ameerthehacker. When would you publish new release, please?

@ameerthehacker
Copy link
Collaborator

@svobik7 I will try to publish it today @svobik7

@MandeepKalkhanda
Copy link

@ameerthehacker, waiting for horizontal lazy-load feature. Please publish new release.

@ameerthehacker
Copy link
Collaborator

@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.

@jasonslyvia
Copy link
Collaborator

awesome, finally it happens in 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

6 participants