# Quote reply is broken on Android Chrome

**URL:** https://meta.discourse.org/t/quote-reply-is-broken-on-android-chrome/52968
**Category:** Bug
**Created:** [11월 16, 2016, 2:40오후 UTC](https://meta.discourse.org/t/quote-reply-is-broken-on-android-chrome/52968 "2016-11-16T14:40:19Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [11월 16, 2016, 2:40오후 UTC](https://meta.discourse.org/t/quote-reply-is-broken-on-android-chrome/52968/1 "2016-11-16T14:40:19Z")

</div>

Continuing the discussion from [Discourse Narrative Bot](https://meta.discourse.org/t/discourse-narrative-bot/52132/90):

The quote reply button doesn’t show up.

 ![](https://global.discourse-cdn.com/meta/original/3X/2/a/2a975b33400c9ace264cbe1149a648879fc5f911.png)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [11월 16, 2016, 3:29오후 UTC](https://meta.discourse.org/t/quote-reply-is-broken-on-android-chrome/52968/2 "2016-11-16T15:29:57Z")

</div>

I will have a 👀.

---

<div class="post-metadata">

### Author: ![Tom\_Newsom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tom_newsom/32/115981_2.png) [@Tom\_Newsom](https://meta.discourse.org/u/Tom_Newsom)
#### Post date: [11월 16, 2016, 3:53오후 UTC](https://meta.discourse.org/t/quote-reply-is-broken-on-android-chrome/52968/3 "2016-11-16T15:53:30Z")

</div>

This is the old “can’t quote the last paragraph because it includes a hidden character” problem isn’t it?

 ![](https://global.discourse-cdn.com/meta/original/3X/4/4/44c5043c2e81e1687f35cd2424e2a0188ab0d622.png)

> [@Reply to selected text not appearing when last para is selected](https://meta.discourse.org/t/reply-to-selected-text-not-appearing-when-last-para-is-selected/29638):
>
> OK so this is a particular thing that I tend to do over and over, I double click paragraphs while I’m reading and the reply button doesn’t actually show up if I select the last paragraph. Presumably because chrome’s selection thing randomly includes bits of the chrome too (it seems to select a little bit after the newline, highlighting at the start of the ‘like’ heart). I don’t know if this is fixable or worth fixing but I thought it should be reported. Another thing I’d like is a user-option t…

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [11월 16, 2016, 4:06오후 UTC](https://meta.discourse.org/t/quote-reply-is-broken-on-android-chrome/52968/4 "2016-11-16T16:06:14Z")

</div>

nope - in my case it didn’t work no matter what text I selected. I did have some mixed results though - usually nothing would happen, but then if I tapped the selected text again the “quote reply” would indeed popup but over to the right. Tapping that would then have no result.

update: I just tried this on my discourse and it worked as described above. select text, tap it, see quote reply popup, select quote reply popup, see quoted text appear in reply.

---

<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: [11월 16, 2016, 8:20오후 UTC](https://meta.discourse.org/t/quote-reply-is-broken-on-android-chrome/52968/5 "2016-11-16T20:20:33Z")

</div>

This is fiddly on iOS as well, sometimes Quote Reply won’t show up and you have to massage the selection to get it to appear. I think it’s the same “issue”, in that you have to move the selection around to get it consistently.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [11월 16, 2016, 10:24오후 UTC](https://meta.discourse.org/t/quote-reply-is-broken-on-android-chrome/52968/6 "2016-11-16T22:24:50Z")

</div>

I will rework that code which is 2 to 3 years old now and needs some 💥🔫

I have some ideas on how to make it work properly on mobile too 😉

---

<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: [11월 18, 2016, 5:02오전 UTC](https://meta.discourse.org/t/quote-reply-is-broken-on-android-chrome/52968/7 "2016-11-18T05:02:44Z")

</div>

I think we fixed the immediate bug?

[https://github.com/discourse/discourse/commit/8cc64cd05b8a43a5a17fbb53b953f8805f3ade76](https://github.com/discourse/discourse/commit/8cc64cd05b8a43a5a17fbb53b953f8805f3ade76)

Code still needs rework of course

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [11월 24, 2016, 5:27오후 UTC](https://meta.discourse.org/t/quote-reply-is-broken-on-android-chrome/52968/8 "2016-11-24T17:27:07Z")

</div>

Here are the proper fixes 💥

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

Tested on

- latest Chrome (macOS)
- latest Firefox (macOS)
- latest Safari (macOS)
- latest Edge (Windows 10)
- latest Safari (iOS) - iPhone 6s/iPad 2
- latest Chrome (Android) - Nexus 6p

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [11월 25, 2016, 2:38오전 UTC](https://meta.discourse.org/t/quote-reply-is-broken-on-android-chrome/52968/9 "2016-11-25T02:38:10Z")

</div>

Found a small regression on mobile. When selection goes out of the cooked area, the quote reply button should not remain visible.

 ![](https://global.discourse-cdn.com/meta/original/3X/0/7/07ad113be14068cb01e997cd97cf4342799f9645.png)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [11월 25, 2016, 4:56오후 UTC](https://meta.discourse.org/t/quote-reply-is-broken-on-android-chrome/52968/10 "2016-11-25T16:56:03Z")

</div>

This is now fixed 🍌

> <https://github.com/discourse/discourse/commit/e3b47a399819b373f29b9036bdd2df553ba9c377>

---

<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: [12월 5, 2016, 1:37오전 UTC](https://meta.discourse.org/t/quote-reply-is-broken-on-android-chrome/52968/11 "2016-12-05T01:37:07Z")

</div>


