Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix content jump when scrolling [PUB-229] #486

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

nikhiltri
Copy link
Member

No description provided.

@zachgarwood
Copy link
Member

This change makes the sticky header only appear when it has been completely scrolled past, instead of becoming sticky when it reaches it's minimum height, then when it does appear, it covers content below it:

Screen.Recording.2024-08-22.at.2.44.12.PM.mov

Copy link
Member

@web-dev-trev web-dev-trev left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link
Member

@zachgarwood zachgarwood left a comment

Choose a reason for hiding this comment

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

It looks like it's working for me locally now 🤷

@web-dev-trev
Copy link
Member

@zachgarwood sometimes the JS caches in a half loaded state or previous one. I usually restart npm run dev when swapping branches to avoid it.

@nikhiltri nikhiltri force-pushed the fix/content-jump-when-scrolling branch from ae02170 to 08388ac Compare August 23, 2024 15:12
Copy link

sonarcloud bot commented Aug 23, 2024

@nikhiltri nikhiltri merged commit cbd61b9 into develop Aug 23, 2024
3 checks passed
@nikhiltri nikhiltri deleted the fix/content-jump-when-scrolling branch August 23, 2024 15:16
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