ursus
09/26/2025, 1:19 PM<http://kotlinlang.org|kotlinlang.org> use for frontend?ursus
09/27/2025, 7:42 PMmartmists
09/30/2025, 11:48 AMModule not found: Error: Can't resolve './skiko.mjs' in '/path/build/wasm/packages/project-name/kotlin'
but it worked fine a few days ago, any ideas what could be causing this?
The only things that really come to mind are that I've added Coil3 and Skydoves ColorPickermartmists
10/01/2025, 4:51 PMlomovskiy
10/06/2025, 9:57 AMpierbezuhoff
10/07/2025, 2:49 AMCanvasBasedWindow to ComposeViewport i found that after pressing Tab the canvas becomes focused and gains a distracting white outline (on chrome). Is there a way to apply CSS to the canvas? It's under shadow-root so normal stylesheets don't affect it.Saif
10/10/2025, 6:09 PMAlex Styl
10/11/2025, 4:10 AMRafael Diaz
10/11/2025, 5:39 PMLucas Pluvinage
10/15/2025, 11:44 AMAlex Styl
10/16/2025, 9:30 AMAlex Styl
10/16/2025, 11:42 PMdistribution block, the composeApp.js and many other files are not included in the output
wasmJs {
browser {
distribution {
val rootDirPath = project.rootDir.path
outputDirectory = File("$rootDirPath/dist/${project.name}") // <-
}
}
binaries.executable()
}Alex Styl
10/17/2025, 3:36 AMwasmJsBrowserDistribution to package my compose web wasm app
but the distribution contains 2 wasm files with weird names.
is that normal? I expected to have just one .wasm file with the name is specify in the distribution blockAlex Styl
10/17/2025, 5:16 AMSunil Kumar
10/24/2025, 4:06 AMwebMain as web main source set. so i was trying to use the WebElementView composable there in webMain , but its not resolving(not found). Its available in jsMain and wasmJsMain only.
Why its not available in webMain? most of the compose things which were available in wasmJs or js, should be available there in webMain, right?
or am i missing something?jean
10/24/2025, 6:09 AMKhangpv202
10/29/2025, 5:22 AM1.9.0 (from 1.8.2), it seems that the testing has stopped working. Specifically, the runComposeUiTest calls are no longer running. Has anyone else encountered this issue?Mario Andhika
10/30/2025, 4:22 AMAndrewStone
10/30/2025, 10:07 PMimport * as skiko from './skiko.mjs';
import * as joda from '@js-joda/core';
import { instantiate } from './composeApp.uninstantiated.mjs';
export async function initComposeApp()
{
if (skiko.ready)
{
await skiko.ready;
}
else if (typeof skiko.instantiate === "function")
{
// fallback for older skiko
await skiko.instantiate();
}
const { exports } = await instantiate({
'./skiko.mjs': skiko,
'@js-joda/core': joda
});
return exports;
}
So far it appears to be working. I figured I'd post this here, because I think anyone else who is trying to use their composeApp as a module will hit the same problem.gbaldeck
11/04/2025, 8:26 PMNino
11/06/2025, 5:52 PMWinson Chiu
11/07/2025, 4:06 PMContextMenuArea equivalent for a right click menu anchored to a specific component? That composable actually exists, but it's internal and only for text selection, unlike the desktop counterpart.Alex Styl
11/08/2025, 6:00 AMlistOf(
"sans-serif",
"sans",
"roboto",
"system",
"Arial"
).forEach {
val fontFamily = FontFamily(SystemFont(it))
Text("The quick brown fox 🦊😍🤔 ${it}", fontFamily = fontFamily, fontSize = 32.sp)
}maximilianosorich
11/09/2025, 5:04 PMtz311
11/11/2025, 8:47 AMEkaterina Volodko [JB]
11/11/2025, 10:01 AMAlex Styl
11/14/2025, 8:25 AMAlex Styl
11/14/2025, 1:12 PMJoaquim Puyo
11/18/2025, 6:46 AMbod
11/18/2025, 9:24 PMModifier.onKeyEvent, this seems to work only after the Compose canvas is focused. So I either need to first click on it, or add a bit of JS that finds the canvas and call focus() on it...
Is this a known issue and/or is there a trick?