Skip to content

Fix to formatting for scroll-behavior file.#480

Merged
paramsiddharth merged 4 commits intomainfrom
SMGBranch
Feb 5, 2023
Merged

Fix to formatting for scroll-behavior file.#480
paramsiddharth merged 4 commits intomainfrom
SMGBranch

Conversation

@smgraywood
Copy link
Copy Markdown
Contributor

Issue
"Currently, when a page is taller than a device's viewport, if a user navigates to another page (i.e. home to campaign, etc.) the viewport will remain at the coordinates of the previous page."

Fix
Creation of scroll-behavior file and implementation in index file in router. Page now reverts to 0, 0 upon navigation to new page.

@smgraywood smgraywood requested a review from a team as a code owner February 4, 2023 20:56
Comment thread src/router/index.js Outdated
Comment thread src/router/scroll-behavior.js
Copy link
Copy Markdown
Contributor Author

@smgraywood smgraywood left a comment

Choose a reason for hiding this comment

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

Code and accompanying import have been deleted.

Copy link
Copy Markdown
Member

@paramsiddharth paramsiddharth left a comment

Choose a reason for hiding this comment

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

Looks good to me. ✨ Well done!

@smgraywood
Copy link
Copy Markdown
Contributor Author

Looks good to me. ✨ Well done!

Thank you! It looks like I don't have merge permissions, will this be merged by a maintainer?

@paramsiddharth
Copy link
Copy Markdown
Member

Looks good to me. ✨ Well done!

Thank you! It looks like I don't have merge permissions, will this be merged by a maintainer?

Yes, Sarah. :) Let me merge it.

@paramsiddharth paramsiddharth merged commit ab7080a into main Feb 5, 2023
@paramsiddharth paramsiddharth deleted the SMGBranch branch February 5, 2023 19:38
@smgraywood smgraywood self-assigned this Mar 3, 2023
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