Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with java.lang.IllegalStateException: Error: Placement happened before lookahead. #110

Open
ak-ing opened this issue Jul 17, 2024 · 3 comments

Comments

@ak-ing
Copy link

ak-ing commented Jul 17, 2024

Something is wrong:

this is my some code in Chat List:

@Composable
fun ClickableMessage(
    message: MessageEntity,
    isUserMe: Boolean,
    authorClicked: (String) -> Unit
) {
    MarkdownText(
        markdown = message.content,
        style = MaterialTheme.typography.bodyLarge.copy(color = LocalContentColor.current),
        modifier = Modifier.padding(16.dp),
        linkColor = MaterialTheme.colorScheme.onPrimary
    )
}

open the chat page,Crash immediately
this is log:
log.txt

@ak-ing
Copy link
Author

ak-ing commented Jul 19, 2024

hello

@jeziellago
Copy link
Owner

Hi @ak-ing
Could you help me sharing these info:

  1. compose-markdown version
  2. AGP version
  3. Compose version
  4. Android OS version

@ak-ing
Copy link
Author

ak-ing commented Jul 30, 2024

compose-markdown version:0.5.2
AGP version:8.3.2
Compose version:composeBom = "2024.05.00"
it is like androidx.compose.runtime:runtime-android:1.7.0-beta01

OS version:Android13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants