View Issue Details

IDProjectCategoryView StatusLast Update
2485Composrcorepublic2016-04-24 14:24
ReporterPDStig Assigned ToChris Graham  
PrioritynormalSeverity@40@ 
Status resolvedResolutionfixed 
Summary2485: Using pagination causes page to jump to top
DescriptionWhen using pagination (aka. clicking a page number to go to another page via. Javascript), the entire page jumps all the way to the top.

Instead of doing this, it would be ideal if the page scrolled up to the top of the content involved in the pagination. Example, if I had a page like this:

Header
Welcome message
Latest news
Activity Feed << Pagination is here
Users Online
Footer

Scroll to the top of the Activity Feed instead of the entire page.

Or alternative, don't have any scrolling up at all.
TagsNo tags attached.
Attach Tags
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2016-04-24 14:24

administrator   ~3726

I've made it scroll to the element OR not at all if the top of the element already is in view. Much better than it was. Also fixed a problem with tooltips not clearing (because onmouseout never fires for removed content). Also implemented pushState so the browser shows the non-AJAX URL for easy sharing/bookmarking.

Issue History

Date Modified Username Field Change
2016-04-24 02:33 PDStig New Issue
2016-04-24 14:24 Chris Graham Note Added: 0003726
2016-04-24 14:24 Chris Graham Status Not Assigned => Resolved
2016-04-24 14:24 Chris Graham Resolution open => fixed
2016-04-24 14:24 Chris Graham Assigned To => Chris Graham