# Clicking @user in post preview goes to new page, loses composed message

**URL:** <https://meta.discourse.org/t/clicking-user-in-post-preview-goes-to-new-page-loses-composed-message/26807>\
**Category:** Bug\
**Created:** [2015年三月26日 07:47 UTC](https://meta.discourse.org/t/clicking-user-in-post-preview-goes-to-new-page-loses-composed-message/26807 "2015-03-26T07:47:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dandv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dandv/32/169779_2.png) [@dandv](https://meta.discourse.org/u/dandv)\
**Post date:** [2015年三月26日 07:47 UTC](https://meta.discourse.org/t/clicking-user-in-post-preview-goes-to-new-page-loses-composed-message/26807/1 "2015-03-26T07:47:22Z")

</div>

1. Go to [a topic](https://meta.discourse.org/t/change-private-message-to-message-individual/26795/11)
2. Reply to the first post.
3. Type a message that @-mentions a user
4. In the preview area, click the @user.

Instead of a pop-up being displayed, a new page request is made for the user’s profile.

After clicking the browser’s back button, the message that was being composed, may also be lost.

 ![](https://global.discourse-cdn.com/meta/original/3X/5/3/5335f414abe23752aff9fdd346d62b9b69e7b713.gif) 

I’ve been bitten by this while composing a long reply summarizing a few topics. Wanted to click on one of the users I’ve @-mentioned to make sure they hadn’t already addressed my reply with one of their posts.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2015年三月26日 08:29 UTC](https://meta.discourse.org/t/clicking-user-in-post-preview-goes-to-new-page-loses-composed-message/26807/2 "2015-03-26T08:29:53Z")

</div>

Hmm yeah that is pretty traumatic, see what we can do here @eviltrout my preference is to just ignore these clicks in the composer preview.

---

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [2015年三月27日 18:27 UTC](https://meta.discourse.org/t/clicking-user-in-post-preview-goes-to-new-page-loses-composed-message/26807/3 "2015-03-27T18:27:38Z")

</div>

Okay I’ve disabled clicking on stuff in the composer preview:

[https://github.com/discourse/discourse/commit/ed58a87616b34d947594b3281e3ab09e7bd6f318](https://github.com/discourse/discourse/commit/ed58a87616b34d947594b3281e3ab09e7bd6f318)

---

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [2015年三月27日 18:32 UTC](https://meta.discourse.org/t/clicking-user-in-post-preview-goes-to-new-page-loses-composed-message/26807/4 "2015-03-27T18:32:09Z")

</div>


