@psychobunny ajaxify.load fires on document load, too. So he only needs to bind to that I think.
Arrows don't work?
First of all, excellent new scrolling arrows up there!
Second of all, the single arrows appear not to work at times. Like if you use the scroll-to-end (double) arrow and then try to use the single arrows, they end up duplicating what the double arrows do and going all the way to the top or bottom of the replies.
I can only reproduce about half the time. Try it on the FIFA thread.
Whoops, this was supposed to go into the bugs category. Don't know how to move it.
@zenkamal No worries, moved it for you
See if you can find a solid set of reproduction steps...
What browser are you using, what extensions do you have installed, and what OS are you running @zenkamal? That info may help the devs out.
I'm using Chrome with no extensions on Windows 8, but this happens on a mac with safari as well.
Tried my best to reproduce, but it seems somewhat random
When I go the FIFA thread, if I...
- Double arrow down to the bottom and then
- Single arrow my way back up a few times
It sometimes goes up all the way rather than up by twenty posts.
Yeah the single arrows are not doing up or down 20 posts at a time, they are just going to the top or the bottom of the html page.
Working as intended
Lol changed them to act like pageup page down buttons https://github.com/NodeBB/NodeBB/commit/1b31f5b2ca9661d6738832f33a62639dd21b5a32
Perhaps a minority opinion here (well...we are all minorities after all ) , but I really liked the single button behavior yesterday moreso than today.
Yesterday it usually went up or down twenty posts at a time, now it goes up 2-3 posts or whatever pageup/down does.
The double arrows are super functional, but I can't imagine a use-case for the single arrow buttons as they stand. If they went down like 10% or 20% of the total replies with each press, that would help to navigate longer threads.
Whattya think? Regular scroll == incremental navigation, single arrow == navigate in large chunks, double arrow == navigate to end or beginning.
@zenkamal I agree. I expect single arrow to take you up 20 posts, and double arrow to go to first/last post.