Lemmy Webclient bug: Upvoting or replying on a comment closes all other comment reply dialogs and deletes their text.

Marxism-Fennekinism@lemmy.ml to Lemmy@lemmy.ml – 18 points –

This is something pretty small but extremely annoying.

So I was writing a really long and thought out reply to a comment, but right before I submitted it, I decided to upvote the comment to get that out of the way first. Imagine my surprise when the reply dialog disappeared and I lost the five or so paragraphs I was writing. And yes re-opening the reply dialog just gives you a blank text box.

I'm not sure what the internal GUI logic is that causes this, maybe something to do with how React/Inferno handles dynamic elements like this? But it's really bad UX and I imagine not too hard to fix.

Also reporting this to see if it's actually a GUI issue or if it's something wrong with my browser. Has anyone experienced this?

In the meantime, if you're writing a long comment, I suggest at least saving it in your clipboard from time to time, just select all and copy. That way you can restore it. I've decided to start doing this until the issue is fixed because I write walls of text almost every day, probably should just get into the habit of it in general. Even better if you have clipboard history since then it's persistent.

1