Triple-clicking last parapgraph doesn't toggle "Quote" button


(Daniel Marquard) #1

Triple-clicking the last (or only) paragraph in a post does not toggle the “Quote” button, at least for me in Chrome 57.0.2987.133.

It looks like this has been fixed previously, but may have resurfaced.

…so you probably can’t triple-click this text to quote it in a new reply.


(Daniela) #2

You’re right, it’s relating to Chrome. With Firefox there’s no problem, triple click works very well.


(Jan P.) #3

Same on Chrome in ChromeOS:

Version 57.0.2987.148 (64-bit)
Plattform 9202.66.0 (Official Build) stable-channel falco
Firmware Google_Falco.4389.92.0


(Sam Saffron) #4

I think this is only the last paragraph, I believe @zogstrip worked on making this more robust in the past, looks like there is an edge case.


(Régis Hanol) #5

I think @tgxworld removed/changed my fix. I don’t recall why though :expressionless:


(Alan Tan) #6

Which commit was it? I definitely did not remove it intentionally.


(Régis Hanol) #7

I think it was this one


(Alan Tan) #8

Ah that commit was fixing the quote button appearing when highlighting the “like” count text. I’ll have a look.


(Régis Hanol) #10

When triple-clicking the last paragraph, the selection spans over the .cooked div and starts selecting content from the .post-menu-area section.

This is why I added these lines

It’s the most reliable way I could find. There’s one thing I didn’t try: adding a .quotable div inside the .cooked div and ensure only that div is selectable.

But another fresh pair of :eyes: won’t hurt :wink:


(Alan Tan) #11

Yea I’ll have to look through the code path again since it has been awhile.


(Alan Tan) #12

Fixed in


(Alan Tan) #13

This topic was automatically closed after 2 days. New replies are no longer allowed.