Skip to content

Development#184

Merged
AlaqmarG merged 3 commits intoproductionfrom
development
Oct 8, 2025
Merged

Development#184
AlaqmarG merged 3 commits intoproductionfrom
development

Conversation

@AlaqmarG
Copy link
Copy Markdown
Member

@AlaqmarG AlaqmarG commented Oct 8, 2025

Changes 🛠

What does this PR do?

#183

Screenshots 🖼

Before

After

Any new npm dependencies?

NO

Testing 🧪

Changes from the latest PR are deployed to https://brockcsc-pr.web.app once the checks are complete. Can use this for testing.

Any other info needed for testing?

NO

Copilot AI and others added 3 commits October 8, 2025 18:53
The issue was that formUrl() method was being called on every Angular change detection cycle (triggered by scrolling). This caused the sanitizer to create a new object reference each time, which Angular interpreted as a change, causing the iframe to reload.

Solution: Compute and sanitize the URL once in ngOnInit() and store it in a property. The template now binds directly to the property instead of calling a method, preventing unnecessary re-renders.

Co-authored-by: AlaqmarG <117380848+AlaqmarG@users.noreply.github.com>
…ms-refresh

Fix embedded Google forms refreshing on scroll
@AlaqmarG AlaqmarG merged commit 4d2d87d into production Oct 8, 2025
1 check passed
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.

2 participants