Getting this error in Compose `alpha12`: ```java.l...
# compose
d
Getting this error in Compose `alpha12`:
Copy code
java.lang.IllegalArgumentException: offset(4) is out of bounds [0, 3]
        at androidx.compose.ui.text.MultiParagraph.requireIndexInRangeInclusiveEnd(MultiParagraph.kt:588)
        at androidx.compose.ui.text.MultiParagraph.getCursorRect(MultiParagraph.kt:437)
...full trace in thread. This occurs after typing a few chars into the text-box. Bit hard to provide our code, but can say we are using a visual transformation which I suppose may affect cursor position / character indexing.
The crash goes away if we remove the visual transformation.
a
Would you mind filing a ticket with the code snippet?
a
Still experiencing this issue in
1.0.0-beta05
. Filled a bug report: https://issuetracker.google.com/issues/188681404