compose-webview-multiplatform icon indicating copy to clipboard operation
compose-webview-multiplatform copied to clipboard

Overlay composables on top of WebView

Open CodyTroopDev opened this issue 1 year ago • 3 comments

I want to have a fullscreen WebView in my application, but still allow controls to navigate to other screens etc.

When I attempt to place Buttons on top of the WebVew, they do not appear. I was wondering if there was a setting I could use to change the behavior or possibly something else I had missed.

If I need to, I can always add the buttons to the webpage itself, but I'd like to write fewer functions that cross the bridge if possible.

Here is my current code: Screenshot 2024-05-24 at 10 52 09 AM

CodyTroopDev avatar May 24 '24 15:05 CodyTroopDev

Small update on this, this behavior is present on jvm, but works as I expected it to on Android.

CodyTroopDev avatar May 24 '24 18:05 CodyTroopDev

@CodyTroopDev Yes, it is a known issue with Compose Multiplatform desktop. We can only wait for an official solution. I am sorry for that.

KevinnZou avatar May 25 '24 01:05 KevinnZou

@CodyTroopDev Yes, it is a known issue with Compose Multiplatform desktop. We can only wait for an official solution. I am sorry for that.是的,这是 Compose 多平台桌面的一个已知问题。我们只能等待官方的解决方案。我对此感到抱歉。

Consider using off-screen rendering to use the Compose component for rendering, in some lightweight use cases?

image

anye6488 avatar Dec 23 '24 08:12 anye6488