Skip to content

Conversation

@pie6k
Copy link

@pie6k pie6k commented Mar 9, 2025

It is possible that the app is rendered inside another window via react portals. (https://pietrasiak.com/creating-multi-window-electron-apps-using-react-portals)

If this is the case, it is owned by a different document, so will be instance of otherDocument.defaultView.HTMLCanvasElement instead of simply HTMLCanvasElement.
(defaultView is the window object of the other document)

@trezy trezy added enhancement New feature or request v8 Issues related to Pixi React v8 labels Mar 14, 2025
@trezy
Copy link
Collaborator

trezy commented Mar 20, 2025

Hey @pie6k, I'm happy to merge this if you can fix the errors. Feel free to ping me if you need help figuring them out.

@trezy
Copy link
Collaborator

trezy commented Apr 25, 2025

Closing this for now. I'm happy to reopen it if the errors are addressed.

@trezy trezy closed this Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request v8 Issues related to Pixi React v8

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants