nodegui / nodegui-plugin-webview

[WIP] A NodeGui plugin that adds webview support
29 stars 5 forks source link

Webview as a Child/Widget #28

Open apedemak opened 1 year ago

apedemak commented 1 year ago

I would love to use this library for a few apps, which require a Webview along with native ui components/widgets.

The issue is that when you try and use the Webview like any other widget (Button, Text etc...), as a Child/widget the app breaks/crashes.

Why can't the Webview be used as a "Child View" like any other widget?

Even the example/demo (Demo.ts) breaks and shows an error if you try and use the Webview as a child/widget.

It works only if you allow the widget to open in a new window.