Loads content early
This is the URL to reproduce:
http://test.plumaz.com/library/
I begin to scroll down and more content rows appear below before the getting to the scrolling point , ..
What am I doing wrong ?
I get from the console:
jScroll: -292 from bottom. Loading next request... jScroll: -380 from bottom. Loading next request... jScroll: -451 from bottom. Loading next request...
I'm using floating divs, and Bootstrap 3 rows, .. I don't if this is probably what's messing up
I'm facing the similar problem. Did you figure it out?
Me too. Facing the same issue. How did you succeed ?
I ended up implementing this:
http://stackoverflow.com/questions/9249047/jquery-rebind-window-scroll-after-a-successful-ajax-call
Hope it helps guys
I did the same :) Thanks for this answer.
I had the same issue using Bootstrap 3 and floating divs. I was able to fix this with a clearing div before the pagination.
<div style="clear:both;"></div>
Thanks, @erinc - that clearing div did the trick for me!
This sounds like a CSS issue and not an issue with jScroll specifically.
After few hours digging on this weird issue, I found that the problem was caused by doctype is not correct (or not set). So it’s not a valid HTML so to speak. JQuery cannot calculate window height / document height correctly if doctype is not specified on window
Just put correct doctype above html tag and it will solve the problem.
<!DOCTYPE html>
<html>
...
</html>
Thank you, @faizshukri.
Just had same problem on my bootstrap template, clearing fixed it. @pklauzinski maybe you should consider adding such information to README?
@faizshukri thank you, I am working in Laravel so I included header before section tag