https://kotlinlang.org logo
#compose
Title
# compose
c

Colton Idle

04/05/2022, 5:42 PM
In my compose app in prod I started seeing this stacktrace and it only occurs on a single device. Anyone have anything similar happen to them?
Copy code
Fatal Exception: java.lang.IllegalArgumentException end cannot negative. [end: -1]
androidx.compose.ui.text.TextRangeKt.packWithCheck (TextRange.kt:124)
androidx.compose.ui.text.TextRangeKt.TextRange (TextRange.kt:37)
androidx.compose.ui.text.input.EditingBuffer.delete$ui_text_release (EditingBuffer.kt:205)
androidx.compose.ui.text.input.DeleteSurroundingTextCommand.applyTo (EditCommand.kt:271)
androidx.compose.ui.text.input.EditProcessor.apply (EditProcessor.kt:110)
🤔 3
20 Views