oleksandrbalan / lazytable

Lazy layout to display columns and rows of data on the two directional plane.
Apache License 2.0
296 stars 12 forks source link

Wasm project crashes when using library #35

Closed jacobmgardiner closed 2 months ago

jacobmgardiner commented 2 months ago

When using this library in my KMM project and running a Wasm build, I get the following error:

Uncaught (in promise) LinkError: WebAssembly.instantiate(): Import #4427 "./skiko.mjs" "org_jetbrains_skia_DirectContext__1nFlushDefault": function import requires a callable

This library doesn't cause any issues when running on Android, and I don't get any errors in the browser when removing the library from my project, so I'm guessing that this library is somehow breaking Wasm.

jacobmgardiner commented 2 months ago

I realized that the version of Jetbrains compose I was using was older than what this library was using so I updated to the latest (1.6.11 -> 1.7.0-beta01) and it seems to work now.