Making WordPress.org

Opened 2 months ago

Closed 2 months ago

#8207 closed defect (bug) (reported-upstream)

Plugin Directory: Tab content loads twice (instant render then delayed browser reload)

Reported by: huzaifaalmesbah's profile huzaifaalmesbah Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

When switching tabs on a plugin page in the WordPress Plugin Directory (Details, Reviews, Installation, Development, etc.), the content appears instantly but then reloads again after a short delay. This creates a double load effect and visible flicker.

Steps to Reproduce

  1. Go to any plugin page in the WordPress Plugin Directory.
  2. Click on a tab such as Reviews, Installation, or Development.
  3. Observe the loading behavior.

Expected Result

The tab content should load once and display smoothly without reloading.

Actual Result

The content appears immediately when the tab is clicked, but after a short delay it reloads again and displays the same content a second time. This creates a flicker or double loading effect.

I tested this behavior in Chrome, Brave, and Firefox, and the issue occurs consistently across these browsers.

Video Demonstration

Video showing the issue: https://files.catbox.moe/pw50lc.mp4

Change History (1)

#1 @obenland
2 months ago

  • Resolution set to reported-upstream
  • Status changed from new to closed

Hi @huzaifaalmesbah, thanks so much for the report!

It took me a good while to figure out what causes it, so extra credit for that. :)

This seems to happen due to an upstream bug in Gutenberg that has since been fixed.
It should resolve itself with the next Gutenberg sync to wp.org.

While not ideal for the time being, it's probably not severe enough of an issue to warrant a temporary patch, so I'll close this one for now, if that is okay.

Note: See TracTickets for help on using tickets.