John O'Reilly
05/28/2021, 4:32 PM0.0.0-web-dev-13
then I get following
This version (1.0.0-beta08) of the Compose Compiler requires Kotlin version 1.5.0 but you appear to be using Kotlin version 1.5.10 which is not known to be compatible.
but if go from Kotlin 1.5.10 back to 1.5.0 then I get following when I build Compose for Desktop module (which is using v 0.4.0-rc1
)
This version (1.0.0-beta08) of the Compose Compiler requires Kotlin version 1.5.10 but you appear to be using Kotlin version 1.5.0 which is not known to be compatible.
Aditya Wasan
05/31/2021, 3:12 PMText
composables in a column. Just wanted to know if it's a bug or intended behavior.
Column {
Text("Hello")
Text("Compose")
}
Tomáš Hubálek
06/01/2021, 7:07 AM./gradlew jsBrowserRun
) ? I see in web console client?0774:52 [WDS] Live Reloading enabled.
but I don't think JetPack is supporting it at the moment.Sam
06/01/2021, 7:28 AMText
component? Will it be consistent with https://developer.android.com/jetpack/compose/text or will it require wrapping it with Span
as is at the moment?Tomáš Hubálek
06/01/2021, 8:11 AMbody
). I found this snippet for classes
object AppStyleSheet : StyleSheet() {
val myStyle by style {
...
}
}
but I didn't find the way how to define styles for HTML elements globally. ThanksCarter
06/01/2021, 2:08 PMCarter
06/01/2021, 5:00 PMsuppressKotlinVersionCompatibilityCheck
supposed to be the same with compose for web?
I tried -P plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true
although it seems to have no effect (I still get the error about the version incompatibility).Oleksandr Karpovich [JB]
06/01/2021, 7:30 PMhfhbd
06/02/2021, 7:51 PMdata class Cell(val color: Color?, val content: @Composable () -> Unit)
SPOILER: I get this error message: this._$cell_0._content is not a function. (In 'this._$cell_0._content($composer_0, 0)', 'this._$cell_0._content' is undefined)
hfhbd
06/03/2021, 8:26 AMOption { }
only usable from a UList
, and not from Select
?Minecraaftt
06/04/2021, 12:01 AMsmallshen
06/04/2021, 5:35 AMsolidogen
06/04/2021, 11:17 AM--continuous
argument for jsBrowserRun task in Getting Started tutorial, developing with live reload is far more productivedarkmoon_uk
06/05/2021, 3:30 AMMarko Novakovic
06/07/2021, 5:14 AMdarkmoon_uk
06/09/2021, 7:16 AMTomáš Hubálek
06/09/2021, 9:21 AMimport org.jetbrains.compose.web.dom.Input
...
Input(attrs = {
onInput {
console.log("New value is", it.nativeEvent.target.asDynamic().value as String))
}
attr("type", "email")
attr("autocomplete", "email")
}, value = value)
It works fine when I'm typing. But when I use autocomplete, then app crashes with ClassCastException at this line:[JB] Shagen
06/09/2021, 6:04 PMBrian G
06/09/2021, 7:50 PMe: java.lang.IllegalStateException: Duplicate live literal key found
.
Is there a way to turn "live literals" off project wide instead of putting @NoLiveLiterals
everwhere?hfhbd
06/10/2021, 8:21 AMspierce7
06/10/2021, 2:06 PMBrian G
06/10/2021, 5:47 PMdarkmoon_uk
06/11/2021, 6:41 AMimplementation(compose.web.widgets)
...in common code.
The underlying string is also web-specific, being:
org.jetbrains.compose.web:web-widgets:0.5.0-build224
I hope it's only like this during development phase as it's counter-intuitive.
Is there a plan to bring these into a truly common namespace/artifact?hfhbd
06/11/2021, 5:44 PMSam
06/11/2021, 9:10 PMInput(type = InputType.Text, attrs = {
onInput {
console.log(it.nativeEvent.target.asDynamic().value)
}
})
Is there a more elegant/safe way of doing it (alternative to WrappedInputEvent.nativeEvent.target.asDynamic().value
)?theapache64
06/13/2021, 8:40 AMspierce7
06/14/2021, 3:54 PMjw
06/14/2021, 4:03 PMColton Idle
06/14/2021, 4:29 PMColton Idle
06/15/2021, 1:34 AMColton Idle
06/15/2021, 1:34 AMtheapache64
06/15/2021, 8:44 AM