# FIX: long pressing reactions-counter shouldn't open ReactionsPicker

**URL:** https://meta.discourse.org/t/fix-long-pressing-reactions-counter-shouldnt-open-reactionspicker/402269
**Category:** Bug
**Tags:** reactions, fixed
**Created:** [6 mei 2026 om 03:01 UTC](https://meta.discourse.org/t/fix-long-pressing-reactions-counter-shouldnt-open-reactionspicker/402269 "2026-05-06T03:01:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![small-lovely-cat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/small-lovely-cat/32/553546_2.png) [@small-lovely-cat](https://meta.discourse.org/u/small-lovely-cat)
#### Post date: [6 mei 2026 om 03:01 UTC](https://meta.discourse.org/t/fix-long-pressing-reactions-counter-shouldnt-open-reactionspicker/402269/1 "2026-05-06T03:01:34Z")

</div>

There exists a bug when `Enable new post reactions menu` is enabled, the left `discourse-reactions-actions-x-left` and `discourse-reactions-reaction-button` share the same component.

In mobile view, when long pressing the left `discourse-reactions-actions-x-left`, it triggers an unintended ReactionsPicker, which the console showing an error of `Uncaught (in promise) TypeError: Cannot read properties of null (reading 'getBoundingClientRect')` and a unresponsive picker panel.

This commit attach the event to element `.discourse-reactions-reaction-button` to prevent such things.

Before:

[https://github-production-user-asset-6210df.s3.amazonaws.com/77799160/588029442-5e7ea492-2cae-4d3b-8eba-cfedcbe204ff.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20260601%2Fus-east-1%2Fs3%2Faws4\_request&X-Amz-Date=20260601T042136Z&X-Amz-Expires=300&X-Amz-Signature=8993d2dbb8d0c499c04e2fb0a7252fbe29c3614d97fa03433d0361849e9f65e8&X-Amz-SignedHeaders=host&response-content-type=video%2Fmp4](https://github-production-user-asset-6210df.s3.amazonaws.com/77799160/588029442-5e7ea492-2cae-4d3b-8eba-cfedcbe204ff.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20260601%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260601T042136Z&X-Amz-Expires=300&X-Amz-Signature=8993d2dbb8d0c499c04e2fb0a7252fbe29c3614d97fa03433d0361849e9f65e8&X-Amz-SignedHeaders=host&response-content-type=video%2Fmp4)

After:

[https://github-production-user-asset-6210df.s3.amazonaws.com/77799160/588028700-35d63878-a23d-4386-8305-1f75a460a49d.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20260601%2Fus-east-1%2Fs3%2Faws4\_request&X-Amz-Date=20260601T042137Z&X-Amz-Expires=300&X-Amz-Signature=85728d14a688c14c2bd9d19f220b8bce4acfb908ccc0fddc63258b4329ce049f&X-Amz-SignedHeaders=host&response-content-type=video%2Fmp4](https://github-production-user-asset-6210df.s3.amazonaws.com/77799160/588028700-35d63878-a23d-4386-8305-1f75a460a49d.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20260601%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260601T042137Z&X-Amz-Expires=300&X-Amz-Signature=85728d14a688c14c2bd9d19f220b8bce4acfb908ccc0fddc63258b4329ce049f&X-Amz-SignedHeaders=host&response-content-type=video%2Fmp4)

On Meta:

[https://github-production-user-asset-6210df.s3.amazonaws.com/77799160/588029721-85b5e75c-5199-4f60-9845-8e1820088a55.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20260601%2Fus-east-1%2Fs3%2Faws4\_request&X-Amz-Date=20260601T042138Z&X-Amz-Expires=300&X-Amz-Signature=c7120acea7d2000f5e2ef02ba1d3f8a2d1c70e01b590722412571fce1a1786df&X-Amz-SignedHeaders=host&response-content-type=video%2Fmp4](https://github-production-user-asset-6210df.s3.amazonaws.com/77799160/588029721-85b5e75c-5199-4f60-9845-8e1820088a55.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20260601%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260601T042138Z&X-Amz-Expires=300&X-Amz-Signature=c7120acea7d2000f5e2ef02ba1d3f8a2d1c70e01b590722412571fce1a1786df&X-Amz-SignedHeaders=host&response-content-type=video%2Fmp4)

Similar problem here, add a ref: [Ability to display all the likes/reactions on a post - #77 by Moin](https://meta.discourse.org/t/ability-to-display-all-the-likes-reactions-on-a-post/389820/77)

A PR is here: [FIX: long pressing reactions-counter shouldn't open ReactionsPicker by small-lovely-cat · Pull Request #39774 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/39774)

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [11 mei 2026 om 14:45 UTC](https://meta.discourse.org/t/fix-long-pressing-reactions-counter-shouldnt-open-reactionspicker/402269/3 "2026-05-11T14:45:13Z")

</div>

Thanks, we have merged in your PR! 🤗

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [14 mei 2026 om 14:45 UTC](https://meta.discourse.org/t/fix-long-pressing-reactions-counter-shouldnt-open-reactionspicker/402269/4 "2026-05-14T14:45:52Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
