Open
Description
Describe the bug
When creating a forum post, data entered is lost when you navigate to a different page, such as clicking on a link in the post preview area. Prior to the new forum topic UI refresh, the data would be retained if you navigated away from the New Topic screen and then returned via the back button.
When doing this workflow today, the data is briefly visible before being replaced with a blank form.
To Reproduce
Steps to reproduce the behavior:
- Go to a forum section, such as https://retroachievements.org/viewforum.php?f=11
- Click on Create New Topic
- Enter a topic subject and some text in the main body. Include a link such as [game=1]
- Click preview and click on the link.
- Hit the Back browser button to return to the New Topic page.
- Note that previously entered data appears for a brief moment, and is then replaced with a blank form
Expected behavior
Data entered into the subject and body should be retained so that accidental clicks do not result in the loss of data.
Desktop (please complete the following information):
- OS: Windows
- Browser: Chrome
- Version: 134.0.6998.89
Additional context
This same behavior occurs when editing an existing forum topic.