# Discourse Reactions accidental likes

**URL:** https://meta.discourse.org/t/discourse-reactions-accidental-likes/263412
**Category:** Bug
**Tags:** reactions
**Created:** [May 1, 2023, 4:37pm UTC](https://meta.discourse.org/t/discourse-reactions-accidental-likes/263412 "2023-05-01T16:37:29Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)
#### Post date: [May 1, 2023, 1:35am UTC](https://meta.discourse.org/t/discourse-reactions-accidental-likes/263412/1 "2023-05-01T01:35:04Z")

</div>

I’ve noticed that the Reaction button seems to react incorrectly to events on mobile. Starting to drag at the reaction button will generate a click event, making it very easy to accidentally click.

---

<div class="post-metadata">

### Author: ![Adubs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adubs/32/220003_2.png) [@Adubs](https://meta.discourse.org/u/Adubs)
#### Post date: [May 1, 2023, 4:37pm UTC](https://meta.discourse.org/t/discourse-reactions-accidental-likes/263412/2 "2023-05-01T16:37:29Z")

</div>

A few of my users have reported this, as well as accidentally tapping like when tapping the number next to likes to see who liked.

People on my forum are saying its ‘easier’ to hit, which makes me think the ‘hit box’ is larger somehow? It looks like this plugin is not in use on meta and comparing the 2 doesnt look any different on my end. Its hard for me to distinguish if this is reality or their perception.

I am able to replicate an accidental like on my phone when scrolling where your thumb starts on the like button as you scroll.

* * *

Unrelated, I wish the reactions would right justify next to the likes instead of moving to the left, but I can understand there may be technical limitations to why that is.

---

<div class="post-metadata">

### Author: ![Adubs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adubs/32/220003_2.png) [@Adubs](https://meta.discourse.org/u/Adubs)
#### Post date: [May 1, 2023, 5:55pm UTC](https://meta.discourse.org/t/discourse-reactions-accidental-likes/263412/3 "2023-05-01T17:55:39Z")

</div>

> [@Adubs](#):
>
> accidentally tapping like when tapping the number next to likes to see who liked.

I have remedied this on my side with the following common CSS added to themes:

```CSS
.discourse-reactions-counter.only-like .reactions-counter {
    padding-right: 10px;
    padding-left: 0px;
}

```

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [May 1, 2023, 5:59pm UTC](https://meta.discourse.org/t/discourse-reactions-accidental-likes/263412/5 "2023-05-01T17:59:33Z")

</div>

> [@Adubs](#):
>
> I am able to replicate an accidental like on my phone when scrolling where your thumb starts on the like button as you scroll.

Can confirm; this is a known bug and on our queue to fix.

---

<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: [July 14, 2023, 8:34am UTC](https://meta.discourse.org/t/discourse-reactions-accidental-likes/263412/6 "2023-07-14T08:34:42Z")

</div>

Cross-linking another recent report here:

> [@“Like” sensitivity on meta](https://meta.discourse.org/t/like-sensitivity-on-meta/271131):
>
> Is it just me or is it extremely easy to accidentally “like” a post while scrolling on meta? The position of the heart is horizontally aligned right where I swipe and it seems even a light interaction with the icon creates a like. I do not have the same issue on my forum despite the position being the same. I’m currently using the Android PWA app.

* * *

And also an older one:

> [@Super easy to accidentally press Like when Reactions enabled](https://meta.discourse.org/t/super-easy-to-press-like-when-reactions-enabled/271620):
>
> About why it is super easy to accidentally press heart with this plugin: in a forum with this plugin, when scrolling, if the starting place of scrolling is on the heart button, the heart button is triggered; on the other hand, in a forum without this plugin, scrolling like this will not trigger heart. A lot of users on our forum is complaining about this issue, and I hope it can be fixed!

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [July 17, 2023, 10:51am UTC](https://meta.discourse.org/t/discourse-reactions-accidental-likes/263412/11 "2023-07-17T10:51:26Z")

</div>

This should be fixed by these two commits:

[https://github.com/discourse/discourse-reactions/pull/224](https://github.com/discourse/discourse-reactions/pull/224)  
[https://github.com/discourse/discourse/pull/22635](https://github.com/discourse/discourse/pull/22635)

---

<div class="post-metadata">

### Author: ![piffy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/piffy/32/254198_2.png) [@piffy](https://meta.discourse.org/u/piffy)
#### Post date: [July 17, 2023, 1:22pm UTC](https://meta.discourse.org/t/discourse-reactions-accidental-likes/263412/12 "2023-07-17T13:22:10Z")

</div>

Feels much better!

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [July 24, 2023, 1:22pm UTC](https://meta.discourse.org/t/discourse-reactions-accidental-likes/263412/13 "2023-07-24T13:22:50Z")

</div>

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