[wp-trac] [WordPress Trac] #50105: Remove infinite scrolling behavior from the Media grid
WordPress Trac
noreply at wordpress.org
Fri Jun 4 22:29:35 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
-------------------------------------+-------------------------------------
Changes (by adamsilverstein):
* keywords: has-screenshots needs-dev-note 2nd-opinion has-patch => has-
screenshots needs-dev-note 2nd-opinion
Comment:
I looked at this a little bit (PR in progress:
https://github.com/WordPress/wordpress-develop/pull/1335) and found the
xhr object is not passed back to fetch as expected here, so I was ''unable
to extract the post count from the header''. Perhaps we are overriding
fetch somewhere else?
Appreciate any help getting the header here, I agree moving this data to
the header will be best to avoid breaking anything. Another option would
be to introduce a new endpoint for the request.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50105#comment:96>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list