[wp-trac] [WordPress Trac] #50105: Remove infinite scrolling behavior from the Media grid

WordPress Trac noreply at wordpress.org
Tue Jun 8 22:28:41 UTC 2021


#50105: Remove infinite scrolling behavior from the Media grid
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:  joedolson
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  5.8
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots needs-   |     Focuses:  ui, accessibility,
  dev-note 2nd-opinion               |  javascript
-------------------------------------+-------------------------------------

Comment (by adamsilverstein):

 In [attachment:"50105.10.diff"]:
 * Pass attachment totals back in headers, restoring original response data
 shape.
 * Use a customized fetch handler to capture the returned X-WP-Total
 header.
 * Ensure spinner hides after load completes.
 * Use approach from rest endpoint to calculate correct X-WP-Total & X-WP-
 TotalPages headers.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50105#comment:102>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list