WordPress.org

Make WordPress Core

Opened 6 weeks ago

Last modified 6 weeks ago

#54091 new defect (bug)

Attachment details pane navigation not working after opening 41st (or greater) item and refreshing the browser

Reported by: ppetrov2c Owned by:
Milestone: 5.9 Priority: normal
Severity: trivial Version: 5.8
Component: Media Keywords:
Focuses: ui, javascript Cc:

Description

Setup:

  • clean 5.8;
  • twentytwentyone active;
  • no plugins active.

Steps to reproduce:

  • open media page;
  • click on the 41st item in the list;
  • notice the left arrow is enabled (which is to be expected, since there are previous items);
  • refresh the page.

Notice the left arrow now - it's disabled.

Not sure if this is intended, but since the item isn't loaded (in the grid), there's no previous but there's only next, which points to the first item. Clicking the right arrow goes to the it and you can't go back to the previous item.

Change History (2)

This ticket was mentioned in Slack in #core-media by antpb. View the logs.


6 weeks ago

#2 @antpb
6 weeks ago

  • Milestone changed from Awaiting Review to 5.9

Thanks for reporting this @ppetrov2c ! I'm leaving a comment to note that in 5.8.1 the count per page was increased to 80 so in the case of this report, you'll be wanting to check the 81st result to reproduce what's being reported in this ticket.

Marking 5.9 as we investigate. :)

Note: See TracTickets for help on using tickets.