# Mobile View: Emoji Picker Click Event is bubbling up

**URL:** https://meta.discourse.org/t/mobile-view-emoji-picker-click-event-is-bubbling-up/113236
**Category:** Bug
**Created:** [April 2, 2019, 3:00pm UTC](https://meta.discourse.org/t/mobile-view-emoji-picker-click-event-is-bubbling-up/113236 "2019-04-02T15:00:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![DoomDesign](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/doomdesign/32/193162_2.png) [@DoomDesign](https://meta.discourse.org/u/DoomDesign)
#### Post date: [April 2, 2019, 3:00pm UTC](https://meta.discourse.org/t/mobile-view-emoji-picker-click-event-is-bubbling-up/113236/1 "2019-04-02T15:00:41Z")

</div>

I’m reporting a bug with the emoji picker in the mobile view.

Consider this scenario:

- You are using discourse on a small device. You are in a thread and want to write an answer.
- You are opening the emoji picker. It opens up as an overlay.
- When you are clicking the emoji you want to insert, and **below your clicking location, behind the emoji picker lies a clickable element** (link, button, whatever), the emoji is picked, but **the click event is bubbling up and clicking on the element**.
- This leads to opening up links, clicking buttons etc. - all without intention!

To prove this is an issue, I reproduced the exact issue here in this very forum (using another thread as example):

[https://global.discourse-cdn.com/meta/original/3X/3/f/3f5f57bfd0bad84fed8d62c28a5c386a1ed75a2c.mp4](https://global.discourse-cdn.com/meta/original/3X/3/f/3f5f57bfd0bad84fed8d62c28a5c386a1ed75a2c.mp4)

(Notice there is a link behind the emoji I pick, and after clicking the emoji, the link is clicked and the url changes).

---

<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: [April 2, 2019, 3:28pm UTC](https://meta.discourse.org/t/mobile-view-emoji-picker-click-event-is-bubbling-up/113236/3 "2019-04-02T15:28:56Z")

</div>

Indeed thanks, should be fixed by [FIX: ensures click on emoji in picker doesn't propagate by jjaffeux · Pull Request #7308 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/7308)

---

<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: [April 2, 2019, 3:29pm UTC](https://meta.discourse.org/t/mobile-view-emoji-picker-click-event-is-bubbling-up/113236/4 "2019-04-02T15:29:00Z")

</div>


