Problem/Motivation
When using AJAX-enabled views, all view elements should be operating using AJAX, including the pager. Views rely on 'js-pager__items' class set on the <UL> element to attach necessary event handler to the pager. The class is missing from the USWDS pager template. This also causes exposed filter to not reset pager when filters are updated.
Steps to reproduce
- create a view, enable AJAX, enable page
- observe pager reloading the page vs using AJAX to navigate between pages
Proposed resolution
Add 'js-pager__items' class on the <UL> to the pager template
Comments
Comment #2
euk commentedApparently this was already fixed in the source under tag 2.4.1.
Leaving a patch here for others who would looks for the solution.
Comment #3
euk commentedComment #4
jrglasgow commented