News for hackers. Stuff that matters.
Re:The Ideal Viewport Doesn't Exist by depressedpanda on Monday August 21, 2023 @07:13PM (#37216594)
If a website allows you to throw away a lot of work by accidentally refreshing the page, it's poorly written. There are multiple ways to deal with this: a warning, a confirmation prompt, storing data in sessionStorage, etc.
Re:The Ideal Viewport Doesn't Exist by eternityforest on Tuesday August 22, 2023 @02:40AM (#37219442)
None of which HN appears to do... ideally you're right, it shouldn't be possible, but disabling pull to refresh helps a lot on a crappy legacy site.

Plus it's also just plain annoying. If a site has no well defined concept of pages, you'll probably be in a whole different dynamically generated page. Not that I think sites like that are all that great to begin with...