# Middle/Right Clicking on Username of Profile Card takes you to the page you are viewing, not the profile

**URL:** <https://meta.discourse.org/t/middle-right-clicking-on-username-of-profile-card-takes-you-to-the-page-you-are-viewing-not-the-profile/30404>\
**Category:** Bug\
**Created:** [2015 年6 月 24 日 11:22 UTC](https://meta.discourse.org/t/middle-right-clicking-on-username-of-profile-card-takes-you-to-the-page-you-are-viewing-not-the-profile/30404 "2015-06-24T11:22:48Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

作者： ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
发布日期： [2015 年6 月 25 日 09:36 UTC](https://meta.discourse.org/t/middle-right-clicking-on-username-of-profile-card-takes-you-to-the-page-you-are-viewing-not-the-profile/30404/3 "2015-06-25T09:36:34Z")

</div>

@eviltrout May I check with you what problem the original commit was trying to solve? Even after switching back to `link-to`, the user-card seems to close once it transitions away to another route.

![](https://lh3.googleusercontent.com/HnKDVAeJjMkTSSTyDYOnR9lOkdUffqlg2Tx6sl5FNGk=w1824-h736-no)

I’m trying to put up a fix which uses `link-to` and handles the user card click event in the view that will close the user card. Is that the right direction?

Thanks!

---

_[View the full topic](https://meta.discourse.org/t/middle-right-clicking-on-username-of-profile-card-takes-you-to-the-page-you-are-viewing-not-the-profile/30404)._
