Open martinkrcho opened 9 years ago
We had the same issue - performance was basically unusable - and proposed a fix in #5. @auxiliary found some edge case issues which we've not had a chance to look at, our version is in production at https://www.edbookfest.co.uk/the-festival/events and we've not had problems reported. Ultimately I can cope with the occasional rendering bug vs the very heavy impact on page response time that we were seeing. We'll be keeping the https://github.com/craig410/rpage fork up for the foreseeable future if you want to use it.
@acoulton The problem mentioned in #5 only occurs on a resize and not on a load, and apparently only when you're on a page that needs hiding from both ends. You can reproduce the bug by loading a page like this one with a smaller browser size and then increasing the width of the browser (Chrome 44 in my case). This would be the results:
Other than that the solution in #5 is pretty effective.
I really like the idea behind this project and I would like to use it on my websites, but I am struggling with one huge downside. The pagination takes couple of seconds to redraw when I change the size of its container (or browser). As you can imagine, no one should have something that slow on their website. Have anyone noticed this issue? Is there a way to speed it up?