this post was submitted on 26 Apr 2023
33 points (100.0% liked)

Asklemmy

43777 readers
2316 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] 0x1C3B00DA@lemmy.ml 1 points 2 years ago* (last edited 2 years ago)

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.