Skip to content

Reserve space for the async status message to prevent layout shift - #289

Merged
dblock merged 1 commit into
masterfrom
reserve-message-space
Aug 30, 2026
Merged

dblock merged 1 commit into
masterfrom
reserve-message-space

Conversation

@dblock

@dblock dblock commented Aug 30, 2026

Copy link
Copy Markdown
Owner

The "Together, N athletes logged X miles this month!" message is fetched asynchronously and injected into #messages, which had no reserved height. This caused the CTA button and screenshot below it to visually jump down once the message loaded. Reserves min-height for #messages to prevent the shift, matching the same fix applied to discord-strava.

The 'Together, N athletes logged X miles this month!' message is
injected asynchronously into #messages, which previously had no
height, causing the CTA button and screenshot below it to jump down
once the message loaded.
@dblock
dblock merged commit 45575d6 into master Aug 30, 2026
4 checks 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.

1 participant