We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If a parent composable is listening for clicks, the HtmlText stops the clicks from occurring. Here is an example:
Column { Card( modifier = Modifier.clickable { println("Clicked the html card!") // never triggers } ) { HtmlText(text = "Some <b>bolded and cool</b> text that should click") } Button( onClick = { println("Clicked the html button!") // never triggers } ) { HtmlText(text = "Some <b>bolded and cool</b> button") } Card( modifier = Modifier.clickable { println("Clicked the non-html card!") // always triggers } ) { Text(text = "Some <b>bolded and cool</b> text that should click") } Button( onClick = { println("Clicked the non-html button!") // always triggers } ) { Text(text = "Some <b>bolded and cool</b> button") } }
What it looks like in preview:
The text was updated successfully, but these errors were encountered:
Any updates or potential fixes for this?
Sorry, something went wrong.
The problem is that HtmlText itself adds a click listener
Fixed with version 1.3.1
No branches or pull requests
If a parent composable is listening for clicks, the HtmlText stops the clicks from occurring. Here is an example:
What it looks like in preview:
The text was updated successfully, but these errors were encountered: