The bearing component does not handle the case when the aspect of the viewer element is infinity (non-zero width and zero height in RenderMode.Fill mode) causing the virtual DOM to throw exception for the camera fov indicator SVG.
Also the render service does not handle the case when the viewer element width and height are both zero. That results in NaN value for the aspect which exceptions in the virtual DOM.
These cases need to be handled. The viewer element should be able to be zero sized at any time and when resized it should behave correctly.
The
bearingcomponent does not handle the case when the aspect of the viewer element is infinity (non-zero width and zero height in RenderMode.Fill mode) causing the virtual DOM to throw exception for the camera fov indicator SVG.Also the render service does not handle the case when the viewer element width and height are both zero. That results in NaN value for the aspect which exceptions in the virtual DOM.
These cases need to be handled. The viewer element should be able to be zero sized at any time and when resized it should behave correctly.