-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add scroll to top button #31
Conversation
✔️ Deploy Preview for zealous-spence-867386 ready! 🔨 Explore the source changes: ae91be3 🔍 Inspect the deploy log: https://app.netlify.com/sites/zealous-spence-867386/deploys/61cc2dbf48c7e90007db5fbd 😎 Browse the preview: https://deploy-preview-31--zealous-spence-867386.netlify.app/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! 💃 I had a few questions/thoughts. :)
@@ -63,6 +64,7 @@ const ProblemsPage: FC = () => { | |||
)) | |||
)} | |||
</Wrapper> | |||
<ScrollToTopButton /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the end this won't be added on this page, but on ProblemDetailedPage, right? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course, I put it here just to see and test the component :)
Two additional thoughts:
|
We can manage focus when the button will be used in the ProblemDetailedPage |
); | ||
}; | ||
|
||
export default ScrollToTopButton; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 👏 👏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! 🎊
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create scroll to the button which will be added to the show problem page