[wp-trac] [WordPress Trac] #50105: Remove infinite scrolling behavior from the Media grid
WordPress Trac
noreply at wordpress.org
Wed Jun 9 15:59:31 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 needs- | javascript
testing |
-------------------------------------+-------------------------------------
Comment (by joedolson):
Ah - the load more button isn't gone, it's just hidden.
Problem is that the `updateLoadMoreView` is only loaded on the 'add remove
reset' events, and those aren't fired when switching tabs.
`updateLoadMoreView` needs to fire when the view is shown, as well.
This is fixed by running updateLoadMoreView on the same expectations as
`updateContent`, which makes sense to me.
New patch coming shortly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50105#comment:107>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list