You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 15, 2026. It is now read-only.
In app/components/selection/distance.element.js, the position setter directly passes line_model to this.styleProps and this.render() without verifying if line_model exists.
If line_model is unexpectedly passed as null or undefined (which can happen during rapid mouse movements or when elements dynamically unmount in modern single-page applications), the application will crash with a TypeError during object destructuring in downstream setters/methods.
Description
In
app/components/selection/distance.element.js, thepositionsetter directly passesline_modeltothis.stylePropsandthis.render()without verifying ifline_modelexists.If
line_modelis unexpectedly passed asnullorundefined(which can happen during rapid mouse movements or when elements dynamically unmount in modern single-page applications), the application will crash with aTypeErrorduring object destructuring in downstream setters/methods.Code Location
In
app/components/selection/distance.element.js: