Scroll back to top, and then back to where you were
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
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
resolves aeharding/wefwef#92
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
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!