2026-03-04 01:08 UTC
I had a really funny bug at Codeberg just now. No Codeberg shaming though—the bug was a fundamental-ish feature of the Web and not some mistake on Codeberg side!
So I was writing an issue comment. Just before I clicked send, my Internet connection disappeared. Comment textarea has gone non-interactive, browser started sending the request… and nothing else. Just stuck in this state due to being offline. I wanted to copy the comment, reconnect, and reload. But the textarea was no longer selectable! And reloading the page was not an option either, because that’d lose my input (CORRECTION: Codeberg caches the comment, so this worry was unfounded.)
I had to do document.querySelector("#id-of-textarea").value to get my comment. But I did get it, reconnected, and sent the comment normally.
Replies (2)
-
@slash@merveilles.town 2026-03-04 01:38
@aartaka They use formantic for a lot of that functionality, I'd argue much of it is detrimental. I was so annoyed by over-eager form tooltips that I had to disable them all together.
-
@colby@kosmos.social 2026-03-29 23:53
@aartaka in a better world, your user agent (assuming you're signed up and logged in to some service like a Firefox Sync account) would keep a copy of your "papers"—form data you've submitted—with some configurable policy about how long before it's allowed to auto-evaporate.