Skip to content

cannot open new window in some electron apps #6

Description

@DanielSegal1

Hey, I've came accross a problem I had with my electron app.
In a certain case and configuration of my electron app, the following line inside the openChild func:

this.window.addEventListener('resize', onNewWindowResize);

throws an error, because the window object has no addEventListener property, although it is indeed initialized.

this causes the new window to open, but not calling the onOpen func and the developer has no control over the new window object, and cannot even close it programatically.

I've made a fix to this locally and would like to open PR to fix it, but it seems like I cannot push my branch because of permissions.
I would like to get a help from one of the maintainers so I can merge my fix.
thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions