darkmoon_uk
02/28/2023, 10:36 AMephemient
02/28/2023, 10:39 AMdarkmoon_uk
02/28/2023, 10:41 AMdarkmoon_uk
02/28/2023, 10:42 AMephemient
02/28/2023, 10:44 AMdarkmoon_uk
02/28/2023, 10:46 AMdarkmoon_uk
02/28/2023, 10:56 AMspierce7
02/28/2023, 5:37 PMSuser
03/01/2023, 8:06 AMDaniele B
03/01/2023, 1:34 PMBrowserViewportWindow
yourself or did you find it somewhere?
https://git.chrishatton.org/chris/homepage/-/blob/master/src/jsMain/kotlin/org.chrishatton.homepage/presentation/view/BrowserViewportWindow.kt
Such component should definitely be provided as part of the Compose/JScanvas library!darkmoon_uk
03/01/2023, 9:28 PMBrowserViewportWindow
is indeed a very useful device, which must be credited to @Oliver.O, see this thread. I will mark up the source file also.darkmoon_uk
03/01/2023, 10:00 PMDaniele B
03/01/2023, 10:02 PMOliver.O
03/01/2023, 10:05 PMOliver.O
03/01/2023, 10:07 PMDaniele B
03/01/2023, 10:11 PMBrowserViewportWindow
. Is there any specific reason why you changed it?
Does also this latest version support resizing?Oliver.O
03/01/2023, 10:25 PMOliver.O
03/01/2023, 10:37 PMDaniele B
03/01/2023, 10:54 PMModule "androidx.compose.foundation:foundation" has a reference to symbol [ File '/mnt/agent/work/ba60555d9dde92ae/compose/frameworks/support/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridLayoutInfo.kt' <- androidx.compose.foundation.lazy.grid/EmptyLazyGridLayoutInfo|null[0] ]. Neither the module itself nor its dependencies contain such declaration.
This could happen if the required dependency is missing in the project. Or if there is a dependency of "androidx.compose.foundation:foundation" that has a different version in the project than the version that "androidx.compose.foundation:foundation" was initially compiled with. Please check that the project configuration is correct and has consistent versions of all required dependencies.
The list of "androidx.compose.foundation:foundation" dependencies that may lead to conflicts:
1. "kotlin" (a library with unknown version)
2. "androidx.compose.animation:animation" (a library with unknown version)
3. "androidx.compose.animation:animation-core" (a library with unknown version)
4. "androidx.compose.foundation:foundation-layout" (a library with unknown version)
5. "androidx.compose.runtime:runtime" (a library with unknown version)
6. "androidx.compose.runtime:runtime-saveable" (a library with unknown version)
7. "androidx.compose.ui:ui" (a library with unknown version)
8. "androidx.compose.ui:ui-geometry" (a library with unknown version)
9. "androidx.compose.ui:ui-graphics" (a library with unknown version)
10. "androidx.compose.ui:ui-text" (a library with unknown version)
11. "androidx.compose.ui:ui-unit" (a library with unknown version)
12. "androidx.compose.ui:ui-util" (a library with unknown version)
13. "org.jetbrains.skiko:skiko" (a library with unknown version)
14. "org.jetbrains.kotlinx:atomicfu" (a library with unknown version)
15. "org.jetbrains.kotlinx:kotlinx-coroutines-core" (a library with unknown version)
Oliver.O
03/01/2023, 10:58 PMOliver.O
03/01/2023, 10:59 PMDaniele B
03/01/2023, 11:00 PMfrontendJsBrowserDevelopmentRun
I have just verified that frontendJsBrowserProductionRun
works! 👍