react-infinite-scroller icon indicating copy to clipboard operation
react-infinite-scroller copied to clipboard

Detach scroll listeners on hasMore prop change

Open PierreGUI opened this issue 6 years ago • 5 comments

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.

PierreGUI avatar Mar 08 '18 11:03 PierreGUI

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!

jmbothe avatar Apr 04 '18 13:04 jmbothe

Thanks! Waiting it to be merged @danbovey

xcatliu avatar Jun 19 '18 09:06 xcatliu

+1 for this

paranoidjk avatar Jul 19 '18 08:07 paranoidjk

+1 for this PR

AdelBachene avatar Jul 22 '19 18:07 AdelBachene

+1 for this PR @danbovey

brianmock avatar Aug 05 '19 14:08 brianmock