OnBeforePopup creates and sizes window even if one is supplied in newBrowser #4438
aimcosoftware
started this conversation in
General
Replies: 1 comment 27 replies
-
Are you using If you are using |
Beta Was this translation helpful? Give feedback.
27 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to use onBeforePopup() to create and size a ChromiumWebBrowser as a tab.
Returning the created browser in newBrowser is ignored, a new window is created anyway.
The only way to do that seems to be to create and navigate my own browser, and cancel the default.
This means window.open() doesn't have a reference to the created window.
Anything that can be done to change this behaviour?
Beta Was this translation helpful? Give feedback.
All reactions