Saif
(Saif Murtaza )
January 2, 2025, 11:35pm
1
Not sure if this is exactly related but I wanted to point out
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 Likes
sam
(Sam Saffron)
January 6, 2025, 12:20am
4
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 Likes
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 Likes
sam
(Sam Saffron)
January 6, 2025, 9:36pm
9
This could potentially be related to post action refactor @saquetim recently landed given the post actions are there.
2 Likes
Also I note it doesn’t happen in the OP, only in replies.
2 Likes
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
Don
January 7, 2025, 12:11am
14
It seems the user-select: none
cause this on nav.post-controls
. I think it should be active only on touchscreen.
4 Likes
sam
(Sam Saffron)
January 7, 2025, 3:12am
16
Thanks @Don this is very helpful.
Looks like @saquetim has a fix planned, we will post about it tomorrow!
6 Likes
saquetim
(Sérgio Saquetim)
January 7, 2025, 10:43pm
19
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 Likes
saquetim
(Sérgio Saquetim)
January 9, 2025, 12:31am
21
discourse:main
← discourse:dev/triple-click-br
opened 10:06PM - 07 Jan 25 UTC
On WebKit-based browsers, triple clicking on the last paragraph of a post won't … stop at the end of the paragraph, leaking the selection into the following nodes until it finds a non-empty node.
This PR introduces a workaround to fix this behavior.
The PR above addresses this issue.
6 Likes
pmusaraj
(Penar Musaraj)
Closed
January 13, 2025, 1:00pm
22
This topic was automatically closed after 3 days. New replies are no longer allowed.