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

Blog Scroll Progress Bar #402

Merged
merged 4 commits into from
Sep 25, 2023
Merged

Blog Scroll Progress Bar #402

merged 4 commits into from
Sep 25, 2023

Conversation

Prid13
Copy link
Collaborator

@Prid13 Prid13 commented Aug 20, 2023

Found a simple package that does the job, but it's not so customizable so the bar has to be on top of the page. Dunno how to get it below the nav bar without making my own solution:

3iRDFgX7W0.mp4

Also, the progress bar is based on the page's whole height, which including header and footer. For the future, there's another package I found that has some options to only base it off the actual blog article itself: https://github.com/Amith-B/react-custom-scroll-progress

Copy link
Contributor

@jonny-wg2 jonny-wg2 left a comment

Choose a reason for hiding this comment

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

@Prid13 you make things look easy peasy! Awesome stuff!

@jonny-wg2 jonny-wg2 merged commit 631209f into main Sep 25, 2023
1 of 2 checks passed
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