voyager icon indicating copy to clipboard operation
voyager copied to clipboard

Scroll back to top, and then back to where you were

Open mrmikeface opened this issue 2 years ago • 2 comments

In Apollo, a really handy feature to go back to the top on long threads is to tap the comment counter area at the top of the screen. In case of accidental tap, tapping the area again brings you back to where you were in the comments section.

In Wefwet, we don't have access to SFSafariViewController which would enable status bar taps to scroll to the top. Instead I have used a floating action button to facilitate the same experience

mrmikeface avatar Jul 02 '23 00:07 mrmikeface

I noticed a couple imports and a commented out line I'll remove in a new revision.

I forgot to add the button to the comments page but I am realizing I cannot locate which file that's in

mrmikeface avatar Jul 02 '23 00:07 mrmikeface

resolves aeharding/wefwef#92

mrmikeface avatar Jul 03 '23 04:07 mrmikeface

Hi @mrmikeface, thanks for this!

I wonder if it's possible to implement this on the status bar without the fab, now that there is a native app?

This fab may conflict with the hide posts fab, so it would be nice if it could be done without additional UI

aeharding avatar Jul 29 '23 22:07 aeharding

I'm going to close this for now - but I'd love to see another implementation using https://capacitorjs.com/docs/apis/status-bar. That provides a callback for status bar taps (in native version) that can be used to scroll up/down as appropriate!

aeharding avatar Aug 17 '23 22:08 aeharding