were you able to fix this issue?
I have the same problem
Hello and welcome to the Babylon community! It might be worth taking a look at @brianzinn 's amazing react-babylonjs which is a up-to-date project
brianzinn/react-babylonjs: React for Babylon 3D engine (github.com)
2 Likes