ReadYou icon indicating copy to clipboard operation
ReadYou copied to clipboard

Unable to unselect text

Open orbisvicis opened this issue 3 years ago • 4 comments

1. Environment

  • Device: [Pixel 4]
  • OS: [Android 13]
  • APP: [0.8.3]

2. Describe the bug

Normally you can click outside of selected text to unselect the text. In this app, the only way to unselect text and remove the selected text highlight, is to press the copy button.

orbisvicis avatar Sep 26 '22 15:09 orbisvicis

https://issuetracker.google.com/issues/254079910

JunkFood02 avatar Oct 20 '22 17:10 JunkFood02

This seems to only effect parts of some articles because I can select and deselect text on the first paragraph of one article but not the rest of it. And on some I can't deselect anywhere.

SNAKESLIGHT avatar Dec 08 '22 18:12 SNAKESLIGHT

I've been hitting this as well- strangely there was one time where I was able to de-select the text but I'm not sure what it was.

Is the logic that includes the Modifier.pointerInput+detectTapGestures just to handle inline links? I assume it's the one in app/src/main/java/me/ash/reader/ui/component/reader/ClickableTextWithInlineContent.kt?

prurigro avatar May 27 '24 03:05 prurigro

I've been hitting this as well- strangely there was one time where I was able to de-select the text but I'm not sure what it was.

Is the logic that includes the Modifier.pointerInput+detectTapGestures just to handle inline links? I assume it's the one in app/src/main/java/me/ash/reader/ui/component/reader/ClickableTextWithInlineContent.kt?

Yes, this only happens with text sections with inline links. Compose Text team has already released a new Text component with LinkAnnotation in their beta release which could solve this issue. We'll migrate to the new implementation once it hit stable

JunkFood02 avatar May 27 '24 07:05 JunkFood02

Any news on updating the Compose Text Text component? If not, I'd be happy to try to fix it with some modifications to the inline link handling.

nathan-contino avatar Jul 17 '24 08:07 nathan-contino

This is a bug in compose, maybe you can try Webview Renderer #568

Ashinch avatar Aug 09 '24 11:08 Ashinch