While using the webview, I just navigate to a post then hit back to go to the timeline. On going back, however, the timeline reloads again and involves a somewhat annoying delay and re-rendering of the timeline page.

Is there a better way to manage this?

I think Reddit mobile view on the web actually manages this well by displaying an overlay for a post that seems to retain the timeline underneath.

There’s a little book icon that opens up the body of the post. You won’t be able to see comments though.

@maegul@lemmy.ml
creator
link
fedilink
21M

Thanks! Hadn’t used that before.

deleted by creator

Lionel C-R
link
fedilink
71M

On my computer I just Ctrl+click or middle-click posts to open them in new tabs, having them open in an overlay would have been nice but I understand it causes accessibility issues so I don’t mind clicking with another button, I’m used to doing so on any other website so no hassle there.

On my smartphone I use jerboa which takes me back to where I was in the feed when I hit the “back” button

yea middle-click is the magic button I use since I was a kid

@maegul@lemmy.ml
creator
link
fedilink
11M

Hadn’t thought of the accessibility issues. Makes a lot of sense then.

The situation makes me think about whether browsers have stagnated for a while in their general interface. An ephemeral tab overlayed on its origin feels like something a browser should be taking care of.

@0x1C3B00DA@lemmy.ml
link
fedilink
2
edit-2
1M

Modern browsers can retain your scroll position for pages in your history. But Lemmy is a SPA (Single Page App) which means it uses a Javascript framework to manage most things that the browser normally does. When you go back to the feed in Lemmy, Lemmy loads your feed and positions you at the top not the browser.

I believe the dialog element has support in all the mainline browsers now, so again, if you want to load a page in an overlay, that is something browsers can do but Lemmy has to be written to do it that way.

I do it the same way. Sometimes I open a post in a new tab.

Interesting question

Create a post

A loosely moderated place to ask open ended questions

If your post is

  1. Open ended
  2. Not offensive
  3. Not regarding lemmy support (c/lemmy_support)
  4. not ad nauseam inducing (please make sure its a question that would be new to most members)

it’s welcome here!

  • 0 users online
  • 313 users / day
  • 666 users / week
  • 722 users / month
  • 983 users / 6 months
  • 1 subscriber
  • 895 Posts
  • 9.46K Comments
  • Modlog