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

Remove scroll-to-top button #325

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

jonathanhefner
Copy link
Member

Since d0e2ead, the table of contents for a page is now in the sidebar / mobile menu instead of at the top of the page, which eliminates the major use case for a scroll-to-top button.

Furthermore, there are alternative ways to scroll to the top of the page. On desktop, the user can click the scoll bar or press the Home key. On mobile, the UX is less consistent, but still possible. For example, in iOS, the user can double-tap the status bar, whereas Android has its own gestures. While a scroll-to-top button could provide a unified UX, due to limited screenspace, it is even more likely to obscure content and be in the way.

Also, it is worth pointing out that one of uBlock Origin's bundled filter lists ("EasyList - Annoyances") blocks scroll-to-top buttons. This suggests that many people do not consider such buttons helpful.

Since d0e2ead, the table of contents
for a page is now in the sidebar / mobile menu instead of at the top of
the page, which eliminates the major use case for a scroll-to-top
button.

Furthermore, there are alternative ways to scroll to the top of the
page.  On desktop, the user can click the scoll bar or press the
<kbd>Home</kbd> key.  On mobile, the UX is less consistent, but still
possible.  For example, in iOS, the user can double-tap the status bar,
whereas Android has its own gestures.  While a scroll-to-top button
could provide a unified UX, due to limited screenspace, it is even more
likely to obscure content and be in the way.

Also, it is worth pointing out that one of uBlock Origin's bundled
filter lists ("EasyList - Annoyances") [blocks scroll-to-top buttons][].
This suggests that many people do not consider such buttons helpful.

[blocks scroll-to-top buttons]: https://github.com/easylist/easylist/blob/2d0b2d2295c9aa8b51deb21ff77da6824dcc24df/fanboy-addon/fanboy_annoyance_general_hide.txt#L498
@jonathanhefner jonathanhefner mentioned this pull request Oct 5, 2023
@jonathanhefner jonathanhefner merged commit ddd10e7 into rails:main Oct 17, 2023
8 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.

1 participant