Hi Alim,
Thank you for contacting us and I'd be happy to assist.
Your observation is correct and the pagination slides/fades with the results when the view is set to update the results through AJAX.
We have an internal ticket to improve this in future releases, but I'm afraid, I don't have a time estimate to share at this time.
For now, as a workaround, you can use the following steps for each view on that page:
1. Please note the ID of your view that you're working with, from WP Admin -> Toolset -> Views.
For this explanation, suppose that we're working with the View "Current Issue Articles" with ID 17291.
2. Just below your view's block, you can include a "Custom HTML" block with an empty div container with a class name in a format "shadow-pagination-{view ID}".
Example:
<div class="shadow-pagination-17291"></div>
3. In your view's "Custom CSS" field, you can include some custom CSS code to hide the actual pagination links:
.js-wpv-view-layout-17291 .wpv-pagination-nav-links {
display: none;
}
4. And in the same view's "Custom JS" field, you can include some custom script that copies the pagination's content from the actual container to the shadow container added in step 2:
// function to copy pagination's content from one div to another
function updatePagination17291() {
jQuery('.shadow-pagination-17291').html('');
jQuery(".js-wpv-view-layout-17291 .wpv-pagination-nav-links").appendTo(".shadow-pagination-17291");
}
// execute the updatePagination function on page load and pagination update through AJAX
jQuery( document ).on( 'js_event_wpv_pagination_completed ready', function( event, data ) {
updatePagination17291();
});
I hope this helps and you can repeat the same steps for other views, making sure to change the View's ID.
regards,
Waqar