.Destroy() throwing node of undefined exception
keshav2k5 opened this issue · comments
ERROR TypeError: Cannot read property 'node' of undefined
at Function.Translator.isEventInside (transformAwareTranslator.js:56)
at Mouse.eventInside (mouseDispatcher.js:167)
at Mouse._measureAndDispatch (mouseDispatcher.js:160)
at HTMLDocument.Mouse._this._eventToProcessingFunction.(:4200/anonymous function) (webpack-internal:///../../../../plottable/build/src/dispatchers/mouseDispatcher.js:30:41)
at ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (core.js:4740)
at ZoneDelegate.invokeTask (zone.js:420)
at Zone.runTask (zone.js:188)
at ZoneTask.invokeTask [as invoke] (zone.js:496)
at invokeTask (zone.js:1570)
Bug report
Steps to repro:
- create a plottable Components
- call .destroy()
Sample:
chart = new Plottable.Components
.Table([[yAxis, this.plot], [null, xAxis], [null, miniChart], [null, sparklineXAxis]]);
chart.destroy();
Plottable version:3.8.0
Browser name/version: Chrome v65.0.3325.181
OS name/version: windows 10 pro