JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.79k stars 1.14k forks source link

WebView support for desktop #668

Open youngxhui opened 3 years ago

youngxhui commented 3 years ago

How to use webview in compose-jb?

olonho commented 3 years ago

WebView is Android notion, there is not currently fully functional CEF integration at https://github.com/JetBrains/compose-jb/tree/master/cef - you may try to help us make it working again. Also note that any Swing browser component, such as those listed in https://blog.disy.net/swing-browser-integration/ may work via interop.

xinkunZ commented 9 months ago

flutter already has the desktop webview https://pub.dev/packages/desktop_webview_window compose desktop has no webview solution until now, even if jcef just work in swing mode, it has the z-order problem #2926, it really annoying me

KevinnZou commented 9 months ago

I would recommend this library https://github.com/KevinnZou/compose-webview-multiplatform. It supports WebView on the desktop side using JCEF.

okushnikov commented 1 month ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.