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
{{ message }}
Repository navigation
Cannot read properties of null (reading 'addEventListener') #11677
addEventListener and removeEventListener should only be callable on valid defined and non-null elements.
Current behavior
TypeError: Cannot read properties of null (reading 'addEventListener')
at addListener(../../node_modules/chart.js/dist/chart.js:3234:8)
at createProxyAndListen(../../node_modules/chart.js/dist/chart.js:3360:15)
at DomPlatform.addEventListener(../../node_modules/chart.js/dist/chart.js:3406:21)
at _add(../../node_modules/chart.js/dist/chart.js:6216:16)
at <anonymous>(../../node_modules/chart.js/dist/chart.js:6224:41)
at each(../../node_modules/chart.js/dist/chunks/helpers.segment.js:56:12)
at _a.bindUserEvents(../../node_modules/chart.js/dist/chart.js:6224:10)
at _a.bindEvents(../../node_modules/chart.js/dist/chart.js:6205:10)
at _a._checkEventBindings(../../node_modules/chart.js/dist/chart.js:5903:12)
at _a.update(../../node_modules/chart.js/dist/chart.js:5852:10)
at this._doResize(../../node_modules/chart.js/dist/chart.js:5620:46)
at sentryWrapped(../../node_modules/@sentry/browser/esm/helpers.js:37:17)
@chartjs sorry for the ping but I want to resolve this. I have asked about it about a month ago, I have provided a solution, and would like your input so I can contribute my fix.
@etimberg / @LeeLenaleee seeing that you are recent contributors, I'm pinging you both about this issue (as per the recommendation from the support discord).
Activity
DAcodedBEAT commentedon Feb 22, 2024
@chartjs sorry for the ping but I want to resolve this. I have asked about it about a month ago, I have provided a solution, and would like your input so I can contribute my fix.
DAcodedBEAT commentedon Feb 27, 2024
@etimberg / @LeeLenaleee seeing that you are recent contributors, I'm pinging you both about this issue (as per the recommendation from the support discord).
etimberg commentedon Feb 27, 2024
@DAcodedBEAT the proposed changes make sense to me if you'd like to send a PR
DAcodedBEAT commentedon Feb 27, 2024
Thanks @etimberg! I opened #11685 :)