Selecting page "2" from the first page of the browser view highlights page "3" or if you try to go from page "3" to page "2" then page "1" is highlighted. Selecting "Next/Previous" will highlight "Next" or "Previous" respectively instead of the current page.



Steps to reproduce
- Go to the project brows page
- Select a page from the pagination widget
- Scroll to the bottom of the page and the incorrect page will be highlighted with a green boarder
Proposed resolution
Ensure the page the user is currently viewing is the one highlighted with a green boarder
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot 2024-05-07 at 10.35.05 AM.png | 125.47 KB | mherman-pro | |
| Screenshot 2024-05-07 at 10.38.45 AM.png | 125.49 KB | mherman-pro | |
| Screenshot 2024-05-07 at 10.43.29 AM.png | 127.28 KB | mherman-pro |
Issue fork project_browser-3445811
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3445811-fixed-rebase
changes, plain diff MR !472
- 3445811-current-page-not
changes, plain diff MR !469
Comments
Comment #2
kwiseman commentedComment #4
adven-turer commented(Portland DrupalCon issue - can try out this one)
Comment #6
adven-turer commentedEnded up being two separate problems.
onPageChange function was previously targeting the wrong element for focus, and the
<nav>element was missing a class name, preventing some theme styles from applying.Ready for review.
Comment #7
adven-turer commentedComment #14
chrisfromredfinWonderful! Thanks to all who helped; this issue was such a testament to the beauty of DrupalCon code sprints!