Unable to select text with a triple click

Not sure if this is exactly related but I wanted to point out

CleanShot 2025-01-02 at 18.33.19

notice that I am unable to select the text in the sentence unless I manually select it all, this was never the case till somewhat recently. This behavior is sometimes reproducible

Using the latest Arc browser on MacOS

6개의 좋아요

Yes, this is consistently reproducible in chromium (not reproducible on Firefox)

Triple click on last paragraph on Chromium Linux is selecting and then unselecting the text.

6개의 좋아요

What does make it to the clipboard is e.g.:

--- CHANGED: PRIMARY
Formats: TARGETS,UTF8_STRING
'Triple click on last paragraph on Chromium Linux is selecting and then unselecting the text.\n\n4\n\n\u200b\n\u200b\n\nReply\n'
2개의 좋아요

This could potentially be related to post action refactor @saquetim recently landed given the post actions are there.

2개의 좋아요

Also I note it doesn’t happen in the OP, only in replies.

2개의 좋아요

Same here on Chromium Linux

Same, in firefox linux work fine

Also seeing on Chromium Linux triple click works fine on OP but not replies

It seems the user-select: none cause this on nav.post-controls. I think it should be active only on touchscreen. :thinking:

4개의 좋아요

Thanks @Don this is very helpful.

Looks like @saquetim has a fix planned, we will post about it tomorrow!

6개의 좋아요

I have a PR to address the issue, but we’re discussing possible implications.

It may take a couple of days before we fix this.

8개의 좋아요

https://github.com/discourse/discourse/pull/30628

The PR above addresses this issue.

6개의 좋아요

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