# User stream item posts expand issue

**URL:** https://meta.discourse.org/t/user-stream-item-posts-expand-issue/208037
**Category:** Bug
**Tags:** reactions
**Created:** [November 2, 2021, 6:52pm UTC](https://meta.discourse.org/t/user-stream-item-posts-expand-issue/208037 "2021-11-02T18:52:37Z")
**Posts on this page:** 6
**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: [November 2, 2021, 6:52pm UTC](https://meta.discourse.org/t/user-stream-item-posts-expand-issue/208037/1 "2021-11-02T18:52:37Z")

</div>

Hello,

Before, I reported this kind of issue here: [Discourse Follow - #277](https://meta.discourse.org/t/follow-plugin/110579/277)

Now I noticed the same thing with [Discourse Reactions](https://meta.discourse.org/t/discourse-reactions-beyond-likes/183261) in `/activity/reactions` or `/notifications/reactions-received` pages.

If I click the post expander arrow toggle it reload the page.

Thank you 🙂

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [November 2, 2021, 6:58pm UTC](https://meta.discourse.org/t/user-stream-item-posts-expand-issue/208037/2 "2021-11-02T18:58:59Z")

</div>

I can replicate this on my site. 👍

- Go to `activity/reactions`
- Click expand post arrow
- Post does not expand, page reload instead.

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [November 2, 2021, 7:09pm UTC](https://meta.discourse.org/t/user-stream-item-posts-expand-issue/208037/3 "2021-11-02T19:09:12Z")

</div>

Have you try repo it on [try.discourse.org](http://try.discourse.org)?

---

<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: [November 2, 2021, 7:16pm UTC](https://meta.discourse.org/t/user-stream-item-posts-expand-issue/208037/4 "2021-11-02T19:16:43Z")

</div>

Yes, I tried and same issue there too. 🙂

---

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [November 17, 2021, 4:57am UTC](https://meta.discourse.org/t/user-stream-item-posts-expand-issue/208037/7 "2021-11-17T04:57:23Z")

</div>

This has been fixed now:

> <https://github.com/discourse/discourse-reactions/pull/115>
>
> When clicking on the expand arrow in the reactions activity
> stream, a full page… reload occurred because core calls:
> 
> \`\`\`
> const postNumber = item.get("post\_number");
> \`\`\`
> 
> Where item is reaction.post. However, reaction.post had not been
> converted to an Ember object via the Post model, so .get caused
> an error, which triggered the reload. This commit fixes the issue
> by making sure that reaction.post is an instance of Post model,
> and also fixes an error in the discourse-reactions-reaction-post
> template not showing the correct expanded content when the activity
> is expanded.
> 
> See https://meta.discourse.org/t/user-stream-item-posts-expand-issue/208037

---

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [November 17, 2021, 4:57am UTC](https://meta.discourse.org/t/user-stream-item-posts-expand-issue/208037/8 "2021-11-17T04:57:28Z")

</div>


