[wp-trac] [WordPress Trac] #50105: Remove infinite scrolling behavior from the Media grid
WordPress Trac
noreply at wordpress.org
Sun Feb 7 03:28:43 UTC 2021
#50105: Remove infinite scrolling behavior from the Media grid
-------------------------------------+-------------------------------------
Reporter: afercia | Owner: joedolson
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.7
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch has- | Focuses: ui, accessibility,
screenshots needs-testing needs- | javascript
testing-info |
-------------------------------------+-------------------------------------
Comment (by adamsilverstein):
> avoid focus loss when the "Load more" button disappears because there
are no new items to load
What is the desired behavior? should the focus be set to the last media
item or to the "Jump to first new item" button?
> scrolling issues in the media modal
Not certain what these are, any more details?
> update the number of total attachments when adding / removing
attachments: an alternative option could be hiding the counts after
attachments add/removal
Ideally these counts should stay synced with the collection total.
> consider whether the default "per page" of 40 attachments should be
increased
40 feels ok for now. We can make sure this is filterable. It would be nice
if this were user controllable like posts per page, or terms per page are
from the screen options tab. We would need to integrate this into the
modal itself though since it operates in numerous contexts.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50105#comment:52>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list