Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

Text not being cleared from text boxes (minor issue) #95

Open
viiuan opened this issue Oct 23, 2021 · 9 comments
Open

Text not being cleared from text boxes (minor issue) #95

viiuan opened this issue Oct 23, 2021 · 9 comments
Labels
bug Something isn't working low-priority Would be nice to have eventually.

Comments

@viiuan
Copy link

viiuan commented Oct 23, 2021

Describe the bug
Text written for a quote remolt/reply stays in the text box after posting + going to quote remolt/reply to something else

To Reproduce

  1. Remolt/reply to a molt
  2. Remolt/reply to another molt
    It depends on which action you try again, but the text "sticks"

Expected behavior
The textbox to be clear when starting a new quote molt or reply

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Vivaldi (Chromium)
  • Version: 3.7.2218.52
@hqnna
Copy link
Contributor

hqnna commented Oct 24, 2021

It took me a while to be able to find how to reproduce this, on my end this was only reproducible when you close out the reply/molt modal without actually posting it, if you actually post (which causes the page to refresh) the content of the modal is cleared.

@jakeledoux
Copy link
Member

Which is intended behaviour, no? I've deliberately closed the modal to read the original post more before finishing my reply.

When we switch the modals to Ajax then we'll want to clear them upon submit but it will effectively work the same way as it does now.

@hqnna
Copy link
Contributor

hqnna commented Oct 24, 2021

Yeah i don't think this is a bug, rather just intended behavior

@viiuan
Copy link
Author

viiuan commented Oct 24, 2021

on my end this was only reproducible when you close out the reply/molt modal without actually posting it
on my end it also happened after posting when doing the same action on a new molt, which is why i brought it here, but then I wonder why that'd happen to me

@hqnna
Copy link
Contributor

hqnna commented Oct 24, 2021

Strange as I tried multiple times to reproduce it and couldn't, could be a browser specific bug

@jakeledoux
Copy link
Member

I've gone to bed already but I just wanted to chime in to say that most of these "hard to reproduce" bugs tend to be caused by the order of ajax page loads. For instance: directly navigating to /wild-west and then ajax loading /notifications was the cause of one of the bugs I fixed earlier today.

Hope that helps you track it down.

@viiuan
Copy link
Author

viiuan commented Oct 26, 2021

i just realized it could also be maybe like, navigating back a page using my browser buttons rather than the in-site one

@jakeledoux
Copy link
Member

Ohh you might be right. Sometimes it uses the cached HTML which includes the modal contents (and sometimes the button will say "Submitting...")

@hqnna
Copy link
Contributor

hqnna commented Nov 4, 2021

If this is still an issue I can look into it later today.

@hqnna hqnna added bug Something isn't working low-priority Would be nice to have eventually. labels Nov 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working low-priority Would be nice to have eventually.
Projects
None yet
Development

No branches or pull requests

3 participants