Hi. As discussed in the post below, I’m experimenting with the scenario switching input element using multiple canvases.
However, contrary to the description of the post, if the version is updated to the latest version (>= 5.0.0-beta.4), the input element change is not applied as expected.
After changing inputElement, still the first canvas(renderCanvas0) can only listen events. However, changes in camera viewpoint is applied as intendeted.
After clicking the increment input canvas button, events from the first canvas(renderCanvas0) result in changing viewpoint in the second canvas(renderCanvas1)
In lower versions (<= 5.0.0-beta.3) it works fine.
Below is the experiment setting using codesandbox(with 5.0.0-beta.7, so it is broken). You can easily change the babylonjs version by using Dependencies panel follwing attached image.
Should I use a new way to change inputElement following new commits after 5.0.0-beta.4 version?