Destroying infinitescroll whilst in callback #79

samcleaver opened this Issue Aug 7, 2011 · 3 comments


None yet

3 participants


When you destroy the infinitescroll instance whilst in the callback, it doesn't fadeout the loading message/image. A workaround is to use setTimeout to destroy the instance.
Is it possible to swap it around so the callback is called after the loading message/image are hidden?

@lukeshumard lukeshumard was assigned Aug 7, 2011

isn't there a public method to display the done message? if not, we could build that in with an optional parameter for the message?

67726e commented Dec 5, 2012

The best solution is to just fade out the loading message in the destroy method.

67726e commented Jan 14, 2013

I've added a call to the loading.finished method in the destroy method. This should take care of the removal of the message dialog and respect any custom behaviors.

@67726e 67726e closed this Jan 14, 2013
@lukeshumard lukeshumard was unassigned by samcleaver Feb 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment