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
Check this if you would like to implement a PR, we are more than happy to help you go through the process.
Current and expected behavior
Currently, when Chartist is used in dynamic rendering situations or the wrong selector is passed to initialize Chartist, we are having a very unspecific error message directly from the DOM API:
[ERROR TypeError: Cannot read property 'querySelectorAll' of null]
We should catch this error and enrich it with better description of what went wrong so users know how to fix it.
Reproduction
Initialize Chartist with an invalid selector
Chartist version
v2.x
Possible solution
Enrich the error message
The text was updated successfully, but these errors were encountered:
Would you like to work on a fix?
Current and expected behavior
Currently, when Chartist is used in dynamic rendering situations or the wrong selector is passed to initialize Chartist, we are having a very unspecific error message directly from the DOM API:
We should catch this error and enrich it with better description of what went wrong so users know how to fix it.
Reproduction
Initialize Chartist with an invalid selector
Chartist version
v2.x
Possible solution
Enrich the error message
The text was updated successfully, but these errors were encountered: