michalochman / react-pixi-fiber

Write PixiJS applications using React declarative style.
MIT License
864 stars 94 forks source link

TypeError: Cannot read properties of null (reading 'stencil') at ContextSystem.push../node_modules/@pixi/core/dist/esm/core.js.ContextSystem.validateContext (core.js:5206) #240

Closed pavelpave closed 2 years ago

pavelpave commented 2 years ago

Description

using the portals of react and shadow dom, the application crashes with an error (in the name) to play, you must try to call the "modal window" working on the shadow dom and portals

Снимок экрана 2021-11-25 в 11 06 37

Steps to reproduce

1.render the scene 2.open the modal with a sequential call to the next one (it closes and another opens immediately)

Additional info

michalochman commented 2 years ago

Hi @pavelpave the steps to reproduce are incomplete, it's impossible to run them without access to the code. Please provide minimal scenario to reproduce using e.g. code sandbox, there's a template you can use either in JavaScript or in TypeScript.

pavelpave commented 2 years ago

I’ll come and sign in the sandbox after work, I decided to quickly sketch it out so that I don’t forget

michalochman commented 2 years ago

@pavelpave do you have an update on that?

michalochman commented 2 years ago

Closing due to inactivity.