Jaypalsinh Barad
04/11/2026, 6:10 PMWebElementView. That is working fine.
But problem is If i place any Composable about WebElementView it will not appear, it's only show WebElementView 's view.
I don't know how to fix, i tried various method but any of then not worked.
WebElementView(
factory = {
val container = document.createElement("div") as HTMLElement
container.setAttribute("style", "width:100%; height:100%; position:relative; overflow:hidden;")
val div = document.createElement("div") as HTMLElement
div.setAttribute("style", "width:100%; height:100%; overflow:visible;")
val options = createMapOptions(
lat = mapState.currentPosition.latitude,
lng = mapState.currentPosition.longitude,
zoom = mapState.zoom.toInt(),
isEnable = isEnable
)
val googleMap = createGoogleMap(el = div, options = options)
mapState.setGoogleMap(googleMap)
container.appendChild(div)
container
}
)Chrimaeon
04/11/2026, 6:15 PMComposables above the WebElementView
> The embedded HTML element overlays the canvas area based on the size defined in your Compose code. It intercepts input events within that area, preventing those events from being received by Compose Multiplatform.
https://kotlinlang.org/docs/multiplatform/whats-new-compose-190.html#new-api-for-embedding-html-contentJaypalsinh Barad
04/12/2026, 8:08 AMTimo Drick
04/12/2026, 10:23 PMTimo Drick
04/12/2026, 11:21 PMJaypalsinh Barad
04/13/2026, 6:09 AM