Skip to content

keep scroll from flicker and new profile - #823

Merged
SharonStrats merged 1 commit into
stagingfrom
fix/mobile-scroll
Nov 15, 2026
Merged

SharonStrats merged 1 commit into
stagingfrom
fix/mobile-scroll

Conversation

@SharonStrats

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the change intended to reduce scroll flicker during height-only viewport updates.

No open issues 🎉

What changed in this PR

This PR reduces scroll flicker by preventing main-page rerenders when only the viewport height changes.

Changes:

  • Excludes viewport height from the render-environment signature while retaining width, layout, theme, and input mode.
  • Adds a regression test confirming height-only changes do not trigger page navigation or rerendering.
File Description
test/​unit/​mainPage/​index.test.ts Tests that height-only viewport changes skip rerendering.
src/​mainPage/​index.ts Removes viewport height from the render-environment signature.

Review effort: Balanced

@SharonStrats
SharonStrats merged commit 751d92f into staging Nov 15, 2026
9 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in SolidOS NLNet UI Nov 15, 2026
@SharonStrats
SharonStrats deleted the fix/mobile-scroll branch November 15, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants