# Composer keeps the last visited topic composer reply action

**URL:** https://meta.discourse.org/t/composer-keeps-the-last-visited-topic-composer-reply-action/216839
**Category:** Bug
**Created:** [February 2, 2022, 1:08pm UTC](https://meta.discourse.org/t/composer-keeps-the-last-visited-topic-composer-reply-action/216839 "2022-02-02T13:08:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [February 2, 2022, 1:08pm UTC](https://meta.discourse.org/t/composer-keeps-the-last-visited-topic-composer-reply-action/216839/1 "2022-02-02T13:08:02Z")

</div>

Hello,

Repro:

1. Go to a topic and open composer
2. Go to the homepage and open composer _(if I go to other topic that will works fine and overwrite the previous)_
3. Click the top left + button to change the composer to new message.

Thanks 🙂

* * *

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 3, 2022, 4:14am UTC](https://meta.discourse.org/t/composer-keeps-the-last-visited-topic-composer-reply-action/216839/2 "2022-02-03T04:14:31Z")

</div>

Looks like a small state leak, we are not clearing up all the fields on dismiss perhaps, @vinothkannans can you have a look?

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [February 7, 2022, 6:06pm UTC](https://meta.discourse.org/t/composer-keeps-the-last-visited-topic-composer-reply-action/216839/4 "2022-02-07T18:06:42Z")

</div>

[https://github.com/discourse/discourse/pull/15846](https://github.com/discourse/discourse/pull/15846)

This should resolve the issue.
