FunctionGraph do not unmount
phiresky opened this issue · 1 comments
phiresky commented
When a FunctionGraph is removed from the JXGBoard component, it is still rendered. Looks like one would need to manually remove it from the board on componentWillUnmount?
phiresky commented
Seems like this would be fixed by adding this.context.board.removeObject(this.functionGraph); to componentWillUnmount.