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

0px if not browser #1242

Merged
merged 1 commit into from
Sep 18, 2024
Merged

0px if not browser #1242

merged 1 commit into from
Sep 18, 2024

Conversation

mayaraman19
Copy link
Collaborator

Stories/Links:

DOP-5000

Unfortunately I can't really replicate this behavior in local dev, but in preprd you see that scrollY = undefined on initial load which causes the bottom 3 links to not show up until you scroll. This PR sets it to 0 when it's being built so it is not undefined on initial load. Check out the <div> with id docs-side-nav-container.

Current Behavior:

Landing prod
Landing preprd

Staging Links:

Landing Staging

Notes:

README updates

    • This PR introduces changes that should be reflected in the README, and I have made those updates.
    • This PR does not introduce changes that should be reflected in the README

Copy link
Collaborator

@seungpark seungpark left a comment

Choose a reason for hiding this comment

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

this works for me 👍 i was thinking in the sidenav where we call this but this is actually better 👍 thank you!

@mayaraman19 mayaraman19 merged commit afc755e into main Sep 18, 2024
4 checks passed
@mayaraman19 mayaraman19 deleted the DOP-5000 branch September 18, 2024 20:34
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