Skip to content

FunctionGraph do not unmount #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
phiresky opened this issue Mar 25, 2017 · 1 comment
Open

FunctionGraph do not unmount #9

phiresky opened this issue Mar 25, 2017 · 1 comment

Comments

@phiresky
Copy link

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
Copy link
Author

Seems like this would be fixed by adding this.context.board.removeObject(this.functionGraph); to componentWillUnmount.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant