News for hackers. Stuff that matters.
Re:Modern iOS Navigation Patterns by abirch on Wednesday December 13, 2023 @05:05AM (#38625090)
A navigation that I'd love to see on Android is swiping right to go forward
Re:Modern iOS Navigation Patterns by extraduder_ire on Wednesday December 13, 2023 @07:14AM (#38626244)
That would be quite hard to do without a special case, since the default action of the back button is to pop the current activity off the stack and return you to the prior one. (I know too much about this from trying to add a button in an existing app to do the same thing)

It's a shame it's not available though. It'd be useful for navigating tab history in firefox. (currently, hold down back button and select from menu)

Re:Modern iOS Navigation Patterns by ragnese on Wednesday December 13, 2023 @09:36AM (#38627941)
> It'd be useful for navigating tab history in firefox. (currently, hold down back button and select from menu)

Can you achieve this in Android Firefox when you don't have the UI back button enabled (because gestures are the default)?

Re:Modern iOS Navigation Patterns by extraduder_ire on Wednesday December 20, 2023 @03:51AM (#38706643)
Don't think so. The in-app back button should do the same thing though, but that takes an extra input.

Try starting the gesture and holding it down before completing it.

Re:Modern iOS Navigation Patterns by jeroenhd on Wednesday December 13, 2023 @08:31AM (#38627052)
Android's back button gesture isn't handled by the app, and Android currently doesn't have a global "forward" key. I don't think we'll see a forward swipe soon.

I'm also not so sure about the ergonomics of thst approach, I'm sure left-handed people would get annoyed that either their back gesture is now harder to pull off, or their forward gesture is pointing backwards (and doesn't work on right-handed phones).