diff --git a/common/src/jsMain/kotlin/com/huanshankeji/compose/foundation/layout/ext/BoxWithConstraints.js.kt b/common/src/jsMain/kotlin/com/huanshankeji/compose/foundation/layout/ext/BoxWithConstraints.js.kt index 1a5c95e..d080705 100644 --- a/common/src/jsMain/kotlin/com/huanshankeji/compose/foundation/layout/ext/BoxWithConstraints.js.kt +++ b/common/src/jsMain/kotlin/com/huanshankeji/compose/foundation/layout/ext/BoxWithConstraints.js.kt @@ -27,7 +27,6 @@ actual fun BoxWithConstraints( attrsModifier { ref { //console.log("Initial client size: ${it.clientWidth}, ${it.clientHeight}") - // Adding this doesn't make a difference in solving the issue below. //clientSize = ClientSize(it.clientWidth, it.clientHeight) val resizeObserver = ResizeObserver { entries, _ -> val element = entries.single().target