# Expand post on activity page not working

**URL:** https://meta.discourse.org/t/expand-post-on-activity-page-not-working/73911
**Category:** Bug
**Created:** [November 11, 2017, 9:32pm UTC](https://meta.discourse.org/t/expand-post-on-activity-page-not-working/73911 "2017-11-11T21:32:52Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![nawthor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nawthor/32/71115_2.png) [@nawthor](https://meta.discourse.org/u/nawthor)
#### Post date: [November 11, 2017, 9:32pm UTC](https://meta.discourse.org/t/expand-post-on-activity-page-not-working/73911/1 "2017-11-11T21:32:52Z")

</div>

When going to the activity page for any user, the expand/collapse button on larger posts doesn’t work. Clicking it will not expand the post, and only turns the button around and moves it to above the link to the topic. This happens both on desktop and on mobile.

![image](https://global.discourse-cdn.com/meta/original/3X/6/4/648ea3c5ec0130ffdb6a674916053a0d51a9184c.png)

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/8/d85b8726e613e2e83cb6bea2c20e6677f208694a.png)

---

<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: [November 11, 2017, 10:14pm UTC](https://meta.discourse.org/t/expand-post-on-activity-page-not-working/73911/2 "2017-11-11T22:14:39Z")

</div>

Can you repro this @jomaxro?

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [November 11, 2017, 10:47pm UTC](https://meta.discourse.org/t/expand-post-on-activity-page-not-working/73911/4 "2017-11-11T22:47:08Z")

</div>

I can confirm it on Firefox and Chrome.  
When you click the icon the post is not expanded and the icon moves alongside the avatar instead of remaining in its right position

 ![NLSXNNb](https://global.discourse-cdn.com/meta/original/4X/c/2/7/c2734350a3f41dccab87e6ec30b3e695d6bb736d.png)

---

<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: [November 12, 2017, 3:25am UTC](https://meta.discourse.org/t/expand-post-on-activity-page-not-working/73911/5 "2017-11-12T03:25:50Z")

</div>

So maybe a regression here @eviltrout?

---

<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: [November 13, 2017, 5:30pm UTC](https://meta.discourse.org/t/expand-post-on-activity-page-not-working/73911/6 "2017-11-13T17:30:23Z")

</div>

Pedantically, not a regression because “collapse” is a new feature I added. I just didn’t style it properly in the master branch 🙂

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

---

<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: [November 13, 2017, 7:59pm UTC](https://meta.discourse.org/t/expand-post-on-activity-page-not-working/73911/7 "2017-11-13T19:59:31Z")

</div>



---

<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: [November 14, 2017, 10:09pm UTC](https://meta.discourse.org/t/expand-post-on-activity-page-not-working/73911/8 "2017-11-14T22:09:14Z")

</div>

This fixes the broken expansion on the user page:

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