Skip to content
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

Cannot read property 'optionsStore' of undefined in Chart when React.StrictMode is used. #236

Closed
simonssspirit opened this issue Apr 23, 2019 · 4 comments
Assignees
Labels
Bug Item which indicates that something is not working pkg:Charts

Comments

@simonssspirit
Copy link
Contributor

Cannot read property 'optionsStore' of undefined in Chart when React.StrictMode is used.

This can be observed in the following demo:

https://stackblitz.com/edit/react-czl5og?file=app/main.jsx

@simonssspirit simonssspirit added Bug Item which indicates that something is not working pkg:Charts labels Apr 23, 2019
@simonssspirit
Copy link
Contributor Author

This is connected to the use of old context.api

@vladimirivanoviliev
Copy link

vladimirivanoviliev commented Oct 23, 2019

Charts and Gauges are updated with the new context API - waiting unit tests support to release the change.

@simonssspirit
Copy link
Contributor Author

As our tests and using Enzyme, we are currently blocked by the following issue:

enzymejs/enzyme#1553

The fix in the KendoReact Charts is on PR, once the enzyme issue is resolved or there is a workaround available, we will proceed.

@kspeyanski
Copy link
Contributor

This issue is no longer reproducible after the update to the new Context API:
#548

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Item which indicates that something is not working pkg:Charts
Projects
None yet
Development

No branches or pull requests

3 participants