Blazor3D
Blazor3D copied to clipboard
There are errors when we resize window and if the container id is not "blazorview3d"
I have used a different id name for the Blazor3D Viewer. When I resize the window I get errors.
It's very strange Example1 also has a different containerId. And resizing works as expected. https://homaggroup.github.io/Blazor3D/example01 https://github.com/HomagGroup/Blazor3D/blob/main/Examples/Blazor3D.Examples.WebAsm/Pages/Example01.razor
private ViewerSettings settings = new ViewerSettings()
{
ContainerId = "example1",
CanSelect = true,// default is false
SelectedColor = "yellow",
ShowViewHelper = false,//default is true
WebGLRendererSettings = new WebGLRendererSettings
{
Antialias = false // if you need poor quality for some reasons
}
};
what is lockdown-install.js?
lockdown-install.js is not part of my project. I can only see it in the browser. Strange that you don't get the error with the custom id. Can you expose the "id" and "style" of the canvas?
what do you mean "expose"?