WordPress / pattern-directory

The WordPress Block Pattern Directory
https://wordpress.org/patterns/
GNU General Public License v2.0
125 stars 35 forks source link

Post List Continuously Loads without Displaying Posts in Pattern Creation Too #680

Open akiashah opened 7 months ago

akiashah commented 7 months ago

Description: When attempting to create a new pattern using the post list block on the WordPress Pattern Creation page (https://wordpress.org/patterns/new-pattern/), the block fails to display any posts and shows a perpetual loading indicator. This issue occurs during the pattern creation process and prevents users from effectively using the post list block in their custom patterns.

Steps to Reproduce:

  1. Navigate to https://wordpress.org/patterns/new-pattern/ on Google Chrome.
  2. Begin creating a new pattern.
  3. Add a 'Post List' block to the pattern.
  4. Observe the behavior of the Post List block.

Expected Result: The Post List block should successfully load and display a list of posts.

Actual Result: The Post List block continuously shows a loading spinner and does not display any posts.

Environment:

Additional Information:

Console/ Network Output: It is loading the API well and getting the data but just not populating on the screen.