Skip to content

[SR] Pause router marquee when scrolled out of view#5823

Open
robert-bogos wants to merge 1 commit intosite-redesign-foundationfrom
rm-pause-play
Open

[SR] Pause router marquee when scrolled out of view#5823
robert-bogos wants to merge 1 commit intosite-redesign-foundationfrom
rm-pause-play

Conversation

@robert-bogos
Copy link
Copy Markdown
Contributor

@robert-bogos robert-bogos commented Apr 16, 2026

Added logic to pause the router marquee autoplay when it is scrolled out of view. It resumes when scrolled back into view.
This also frees up resources for a small performance bump while scrolling through the page.

Test URLs:

@robert-bogos robert-bogos requested a review from a team April 16, 2026 11:50
@aem-code-sync
Copy link
Copy Markdown
Contributor

aem-code-sync bot commented Apr 16, 2026

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-sync branch
Commits

@rgclayton
Copy link
Copy Markdown
Contributor

Nit. I'm noticing that if I've scrolled the router-marquee out of view and resize the page to a different viewport that autoplaying of router-marquee starts back up, even though it's not in view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants