Skip to content

Detach scroll listeners on hasMore prop change#142

Open
PierreGUI wants to merge 2 commits intodanbovey:masterfrom
PierreGUI:44-hasmore-detach-listener
Open

Detach scroll listeners on hasMore prop change#142
PierreGUI wants to merge 2 commits intodanbovey:masterfrom
PierreGUI:44-hasmore-detach-listener

Conversation

@PierreGUI
Copy link
Copy Markdown

@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
Copy Markdown

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
Copy Markdown

xcatliu commented Jun 19, 2018

Thanks! Waiting it to be merged @danbovey

@paranoidjk
Copy link
Copy Markdown

+1 for this

@AdelBachene
Copy link
Copy Markdown

+1 for this PR

@brianmock
Copy link
Copy Markdown

+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