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

Detach scroll listeners on hasMore prop change #142

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

PierreGUI
Copy link

@PierreGUI PierreGUI commented Mar 8, 2018

Fix #44
Relate #105

This feature makes sense when updating the list directly from parent (eg: search in list), then the listeners need to be removed as soon as hasMore changes.

@jmbothe
Copy link

jmbothe commented Apr 4, 2018

THANK YOU!!! I was having the same problem, so I just cut and pasted this into the file in my node_modules. hahah! It works!!!!

Would be awesome to see this merged tho, so I can deploy :) ha!

@xcatliu
Copy link

xcatliu commented Jun 19, 2018

Thanks! Waiting it to be merged @danbovey

@paranoidjk
Copy link

+1 for this

@AdelBachene
Copy link

+1 for this PR

@brianmock
Copy link

+1 for this PR @danbovey

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.

Set hasMore to "false" doesn't necessarily detaching the event listeners
6 participants