# 点击用户卡片外部区域会触发重定向

**URL:** <https://meta.discourse.org/t/clicking-outside-of-user-card-triggers-redirect/110358>\
**Category:** UX\
**Created:** [2019年二月28日 15:46 UTC](https://meta.discourse.org/t/clicking-outside-of-user-card-triggers-redirect/110358 "2019-02-28T15:46:36Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [2019年二月28日 15:46 UTC](https://meta.discourse.org/t/clicking-outside-of-user-card-triggers-redirect/110358/1 "2019-02-28T15:46:36Z")

</div>

In mobile topic list, when you click a avatar it opens the user card. Then if you click outside (in black overlay) to close the popup it will redirect to the topic which is behind the black overlay in topic list.

---

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [2019年二月28日 16:22 UTC](https://meta.discourse.org/t/clicking-outside-of-user-card-triggers-redirect/110358/3 "2019-02-28T16:22:11Z")

</div>

There is also a little discussion about this in the theme topic:

[https://meta.discourse.org/t/mobile-user-cards/105009/9?u=david](https://meta.discourse.org/t/mobile-user-cards/105009/9)

---

<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:** [2019年二月28日 20:19 UTC](https://meta.discourse.org/t/clicking-outside-of-user-card-triggers-redirect/110358/4 "2019-02-28T20:19:17Z")

</div>

I fixed it in the commit below

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