Error: getEdgeIntersections is not a function

Hi, there!

So, I ran in to an issue where I get TypeError: getEdgeIntersections is not a function.

  1. The application has multiple tabs each showing one plot that is updated based on the tab the user is on.
  2. When the user selects on the plot, I add a box shape with annotation to the selected area and also adds traces to two other plots.
  3. Now, when the user switches between plots that have additional traces, the plot becomes “buggy” and the above TypeError is printed in the console.

I will try to reproduce the error, but I was wondering if anyone has seen this error before and has some idea of where I can go from here.


As an update, this only happens when the plots are different heights.


Figured it out…I was setting up my trace data incorrectly.