News for hackers. Stuff that matters.
Re:Elevator.js – A “back to top” button that behaves like a ... by saagarjha on Tuesday June 23, 2020 @11:40PM (#23623773)
I really hate them on iOS, because the system comes with back-to-top functionality so all these buttons are doing are looking ugly and covering part of the page. And don’t even get me started on when AMP breaks scrolling…
Re:Elevator.js – A “back to top” button that behaves like a ... by ProfessorLayton on Tuesday June 23, 2020 @11:48PM (#23623849)
I just want to take a moment to give a shoutout to the Tweetbot devs, which expanded on iOS’ back-to-top functionality:

Tapping the top of the page again takes you back to your scroll position! Incredibly useful for recovering from accidental taps, and I kind of wish iOS would copy it, since it happens more often than I’d like.

Re:Elevator.js – A “back to top” button that behaves like a ... by dfinninger on Wednesday June 24, 2020 @01:52AM (#23624524)
Interesting!

I always thought that re-scrollback was just a feature of iOS. I use it all the time in Apollo. But it doesn't seem to work in the Reminders app, nor the Notes app. Way to go Tweetbot and Apollo devs!

Re:Elevator.js – A “back to top” button that behaves like a ... by a-wu on Tuesday June 23, 2020 @11:58PM (#23623929)
The Apollo reddit app also does this! Really great feature when I want to go back up to look at the content again and then go back to the comment I was reading.
Re:Elevator.js – A “back to top” button that behaves like a ... by bdibs on Tuesday June 23, 2020 @11:47PM (#23623840)
For anyone else who was wondering, you can tap the top of the address bar on iOS Safari. I think it has to be expanded first. I didn’t know that and hope it helps.
Re:Elevator.js – A “back to top” button that behaves like a ... by hackmiester on Wednesday June 24, 2020 @01:19AM (#23624370)
It works just about anywhere, actually. Just tap the time (or tap the earpiece, on a notched phone) to scroll to the top. Works in Safari, Chrome, Messages, Reddit, Tumblr, Twitter... the list of exceptions is short.
Re:Elevator.js – A “back to top” button that behaves like a ... by saagarjha on Tuesday June 23, 2020 @11:49PM (#23623853)
(This works through the system, by the way; it’s not just limited to Safari.)
Re:Elevator.js – A “back to top” button that behaves like a ... by robertoandred on Wednesday June 24, 2020 @12:38AM (#23624152)
Except on AMP pages.

Fuck AMP.

Re:Elevator.js – A “back to top” button that behaves like a ... by ss3000 on Wednesday June 24, 2020 @03:54AM (#23625300)
This is interesting, I've often found the buttons to be useful at times on mobile, so was wondering where all the hate came from, and turns out it was because iOS already has the feature built-in (I use Android, which doesn't really have an equivalent afaik).

Though to play devil's advocate, I'm willing to bet 80%+ of iOS users have no idea the feature even exists, so removing it just because it's available as a system feature doesn't sound like a particularly compelling argument to me.

I think having some kind of sticky navigation instead of scroll to top makes for a much more compelling UX though, since it accomplishes the same goal without the downsides of hitting it by accident causing an irreversible loss of context.