DEV Community

Discussion on: Page scroll progress bars

Collapse
 
abhilearnstocode profile image
Abhii

🤦‍♂️😂

Yes it is scroll bar but we can implement in blogs where it will progress for the blog height and NOT the body height and hence can improve reading experience.

Collapse
 
moopet profile image
Ben Sinclair

Unless you have an unusually large footer, why would the two be any different? Blog posts are traditionally one per page.

Thread Thread
 
abhilearnstocode profile image
Abhii

Scroll progress bars or whatever they are called are something different than usual scrollbars. They are meant to please user and make your page look good. Unless it doesn't distract user or harms UX it's well and good.

And yea..
It's a scrollbar but just kept horizontal and sticky to the top

Thread Thread
 
moopet profile image
Ben Sinclair

That sounds like a web browser but with extra steps :)

Thread Thread
 
grahamthedev profile image
GrahamTheDev • Edited

A use case is for blogs where they have infinite scroll leading to the next post.

Not that I agree with infinite scroll but that is a valid use case as you can have a progress bar for each.

Other than that I do agree that there is little benefit (although aesthetically I do quite like the circular progress meter)

Thread Thread
 
moopet profile image
Ben Sinclair

Infinite scroll breaks browser scrollbar functionality, and trying to implement your own begs the question, why choose infinite scroll in the first place?

Thread Thread
 
grahamthedev profile image
GrahamTheDev

Hence why I said I don't agree with it, not a fan of infinite scroll myself due to accessibility issues it causes, but we are currently conversing on a site that uses infinite scroll for the home page feed so I suppose beggars can't be choosers 😋

Thread Thread
 
moopet profile image
Ben Sinclair • Edited

The home page here breaks browser functionality, but it's not really a problem because we're not reading a single article. The proposed solution in this post doesn't apply as far as I can tell unless you want a little indicator of your position in every blog post - and in turn that requires every blog post to be rendered in full rather than as a teaser card, otherwise they'd all say you were 100% of the way through.

Thread Thread
 
grahamthedev profile image
GrahamTheDev • Edited

I think I am not being clear, that part was me joking about the prevalence of infinite scroll, I was not meaning to link it to the article or having infinite scroll on actual posts.

I am also agreeing with you that there is no need for this on most sites and all i offered was one scenario (one which I am not a fan of!) where this could be useful as scroll position couldn’t be correlated with article length.

Hope we are clear now as we arguing a point from the same side of the fence!

Thread Thread
 
moopet profile image
Ben Sinclair

Gotcha :)