Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 10 years ago

Last modified 8 years ago

#5206 closed enhancement (fixed)

Scroll to top when clicking on bottom pagination

Reported by: r-a-y's profile r-a-y Owned by: r-a-y's profile r-a-y
Milestone: 1.9 Priority: low
Severity: normal Version: 1.2
Component: Core Keywords: has-patch
Cc:

Description

If you have a ton of groups or members, you'll eventually have some pagination in those loops.

If you click on the bottom pagination links of these loops, the loop will refresh with AJAX, but will not scroll to the top.

This little UX thing has bugged me for awhile now.

Here's a quick patch.

Attachments (1)

5206.01.patch (5.2 KB) - added by r-a-y 11 years ago.

Download all attachments as: .zip

Change History (4)

@r-a-y
11 years ago

#1 @boonebgorges
10 years ago

This looks slick. +1 from me.

#2 @r-a-y
10 years ago

  • Owner set to r-a-y
  • Resolution set to fixed
  • Status changed from new to closed

In 7470:

Scroll to top when clicking on bottom pagination links in BP loops.

If a user clicks on a pagination link located at the bottom of any BP loop
(members, groups), the loop will refresh with AJAX, but will not scroll to
the top of the page. This isn't so great for UX.

This commit adds the ability to scroll to top when a bottom-paginated
link is clicked.

In order for this to work, an additional parameter ('caller') was added to
the bp_filter_request() JS function to determine where the link was called
from.

Fixes #5206.

#3 @DJPaul
8 years ago

  • Component changed from General - UX/UI to Core
Note: See TracTickets for help on using tickets.