JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.34k stars 1.12k forks source link

[Compose Web]: TypeError: content is not a function #5045

Open rustamsmax opened 1 week ago

rustamsmax commented 1 week ago

Having issue on web after upgrading compose version from 1.7.0-dev1686 to new versions > 1.7.0-dev1698

image
arkivanov commented 6 days ago

Also bumped into this crash.

rustamsmax commented 3 days ago

@terrakok even after upgrading to the latest version 1.7.0-alpha01 the issue still exists

CanizaresSoftwares commented 2 days ago

Using kotlin version 2.1.0-dev-875 from maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev") issue is not present.

PMARZV commented 1 day ago

Workaround to this issue is to use Kotlin 1.9.22 or 2.0.10-RC-510 (available with maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/")). This is the associated Slack conversation : https://kotlinlang.slack.com/archives/C01F2HV7868/p1720105526946439?thread_ts=1720098055.793059&cid=C01F2HV7868