Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2009 at 08:28 UTC
Updated:
28 Mar 2012 at 02:04 UTC
Jump to comment: Most recent file
Comments
Comment #1
mineshaftgap commentedis anyone else effected by this?
Comment #2
youkho commentedsame thing it's annoying
Comment #3
yhahn commentedThis small patch smooths out this behavior:
Comment #4
yhahn commentedWhoops, setting to CNR.
Comment #5
Bairnsfather commentedI patched the file with this code and really like it! I can't say I've tested it thoroughly though. The main thing I notice is that the spinning blue progress graphic doesn't show up any more.
If the top of the view is visible within the page's content area, the behavior is like 2.2, the page does not jump, and the view pages in-place.
But if the page has scrolled down so far as to cut off the top of the view, then clicking the pager will gently scroll the content of the page up enough so the top of the view is visible.
Very nice.
The only thing that would make this even more cool is if, for simple blocks, there was the option to scroll up enough to also show the block's header text (the name set in the blocks page). For now is only scrolls up enough to show the top of the view.
In any case, non-jumpy paging has me jumping for joy again. :-)
Comment #6
virtualdrupal commentedThe patch in #3 works perfect for me
Comment #7
merlinofchaos commentedYay, that's something I was looking for in http://drupal.org/node/284413. Thanks!
Comment #9
bryancasler commentedIs it possible to port the patch from #3 to D7?
Comment #10
bryancasler commentedComment #11
visios commentedsubscribing
Comment #12
nicothezulu commentedHello, is there a solution to remove the scroll entirely?
Comment #13
bryancasler commentednicothezulu, I'm actually running into a bug that is doing exactly that #1226290: Panels Everywhere breaks views paging
Comment #14
lessless commentedso, what about d7? i really do not need autoscroll to the top on page load :)
Comment #15
taiger commentedIf you read through ajax-view.js in view/js you will see this functionality as the last function. I am not sure how it is added to views but it can be disabled using your own js.
This works, however, there could be a better way.
Comment #16
bryancasler commentedI actually think this is fixed in the latest dev. My site with Panels Everywhere scrolls properly. Can anyone else confirm?
Comment #17
bryancasler commenteddouble post edit