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

Add scroll to top button #31

Merged
merged 5 commits into from
Dec 29, 2021
Merged

Add scroll to top button #31

merged 5 commits into from
Dec 29, 2021

Conversation

evulins
Copy link
Collaborator

@evulins evulins commented Dec 28, 2021

Create scroll to the button which will be added to the show problem page

@netlify
Copy link

netlify bot commented Dec 28, 2021

✔️ 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/

Copy link
Contributor

@franiakat franiakat left a 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 />
Copy link
Contributor

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? :)

Copy link
Collaborator Author

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 :)

@franiakat
Copy link
Contributor

franiakat commented Dec 28, 2021

Two additional thoughts:

@evulins
Copy link
Collaborator Author

evulins commented Dec 28, 2021

Two additional thoughts:

We can manage focus when the button will be used in the ProblemDetailedPage

@evulins evulins requested a review from franiakat December 28, 2021 21:25
);
};

export default ScrollToTopButton;
Copy link
Collaborator

Choose a reason for hiding this comment

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

👏 👏 👏

Copy link
Collaborator

@bazelajoanna bazelajoanna left a comment

Choose a reason for hiding this comment

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

Very nice! 🎊

Copy link
Contributor

@franiakat franiakat left a comment

Choose a reason for hiding this comment

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

Very good piece of code 🎖️
sqash

@evulins evulins merged commit 1944165 into main Dec 29, 2021
@evulins evulins deleted the add-scroll-to-top-button branch December 29, 2021 10:03
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