Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

Query Loop & classic themes: when using the pagination dynamic behavior it breaks the styling of the whole page #8679

Open
mdza8c opened this issue Feb 5, 2025 · 8 comments
Labels
Customer Report Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report". [Feature Group] Appearance & Themes Features related to the appearance of sites. [Pri] Low [Status] Auto-allocated [Status] Core fix needed This issues is coming from a bundled theme (Twenty Something)) core and is being addressed in trac. [Theme] Canard Triaged [Type] Bug Something isn't working

Comments

@mdza8c
Copy link

mdza8c commented Feb 5, 2025

Context and steps to reproduce

Steps to replicate the issue:

  1. Go to any of the pages reported in the issue report/discussion.
  2. Scroll down and click any other page in the page navigation block at the bottom.
  3. Observe the issue. It persists when you go back to the previous page as well.

Browser console error reported:
Error loading url https://s0.wp.com/wp-content/plugins/gutenberg-core/v20.0.0/build-module/interactivity-router/index.min.js.map: HTTP error: status code 404,
net::ERR_HTTP_RESPONSE_CODE_FAILURE

Additional keywords for finding issues in console: Cannot access rules, cssrules, Source map failed to load, interactivity-router

Issue reported here: 9369470-zd-a8c
Issue discussed here: p1738699155661239-slack-C03TY6J1A

Site owner impact

Fewer than 20% of the total website/platform users

Severity

Moderate

What other impact(s) does this issue have?

No response

If a workaround is available, please outline it here.

On the Query Loop advanced settings, the Reload full page option can be turned on to not use this dynamic behavior when loading other pages.

Platform

Simple

@mdza8c mdza8c added [Feature Group] Appearance & Themes Features related to the appearance of sites. [Type] Bug Something isn't working Needs triage labels Feb 5, 2025
Copy link
Contributor

github-actions bot commented Feb 5, 2025

Support References

This comment is automatically generated. Please do not edit it.

  • 9369470-zen
  • 9364646-zen
  • 9398996-zen

@github-actions github-actions bot added the Customer Report Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report". label Feb 5, 2025
@Robertght
Copy link

Shared initial findings here p1738761479569779/1738699155.661239-slack-C03TY6J1A

@jartes jartes changed the title CSS code is stripped from displayed page when navigating to next page in Query Loop Canard: CSS code is stripped from displayed page when navigating to next page in Query Loop Feb 5, 2025
@jartes jartes transferred this issue from Automattic/wp-calypso Feb 5, 2025
@jartes jartes moved this from Needs Triage to Triaged in Automattic Prioritization: The One Board ™ Feb 5, 2025
@jartes
Copy link

jartes commented Feb 5, 2025

📌 REPRODUCTION RESULTS

  • Tested on Simple – Replicated
  • Tested on Atomic – Replicated

📌 FINDINGS/SCREENSHOTS/VIDEO
Not all the CSS code is stripped on Atomic sites, and the issue goes away when the Gutenberg plugin is deactivated.

This seems to be happening only in the Canard theme.

📌 ACTIONS

  • Triaged
  • Keeping the low priority as there's an easy workaround for this one.
  • Transferred to the themes repo.
  • Added workaround and modified title.

👋🏻 @Automattic/t-rex Pinging you for this one, as it's coming from a customer report. Thank you!

@dsas
Copy link
Contributor

dsas commented Feb 5, 2025 via email

@Robertght
Copy link

Thanks @dsas!

I created one here: WordPress/gutenberg#69064

@Robertght Robertght added the [Status] Core fix needed This issues is coming from a bundled theme (Twenty Something)) core and is being addressed in trac. label Feb 5, 2025
@matticbot matticbot moved this from Needs Triage to Triaged in Automattic Prioritization: The One Board ™ Feb 5, 2025
@jorpdesigns
Copy link

jorpdesigns commented Feb 6, 2025

Looks like this may be affecting at least one Block theme - Infield

Reported in 9364646-zd-a8c

Site is on the Premium plan

@dsas
Copy link
Contributor

dsas commented Feb 10, 2025

Should be resolved in the next 20.0.x GB release 👍

@filipanoscampos
Copy link

Another one here 9398996-zd-a8c
Dyad 2. The user has multiple pages with posts set up with QL blocks.

@Robertght Robertght changed the title Canard: CSS code is stripped from displayed page when navigating to next page in Query Loop Query Loop & classic themes: when using the pagination dynamic behavior it breaks the styling of the whole page Feb 12, 2025
@inaikem inaikem moved this from Triaged to Needs Core/3rd Party Fix in Automattic Prioritization: The One Board ™ Feb 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Customer Report Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report". [Feature Group] Appearance & Themes Features related to the appearance of sites. [Pri] Low [Status] Auto-allocated [Status] Core fix needed This issues is coming from a bundled theme (Twenty Something)) core and is being addressed in trac. [Theme] Canard Triaged [Type] Bug Something isn't working
Projects
Status: Needs Core/3rd Party Fix
Development

No branches or pull requests

7 participants