Hi,
i'm getting an exception while working with the gantt. Please see the attached gif. It happens very often in our application but i could reproduce it in one of your examples (also it seems to happen less often)
Steps to reproduce:
- open the "gantt-5.3.5\examples\frameworks\angular\taskeditor" sample
- replace \src\assets\data\launch-saas.json with the one attached
- open \src\app\app.config and add the follwing lines to the projectmodel:
taskStore: new TaskStore({
transformFlatData: true,
autoTree: true,
}),
(see the app_config_ts2.png)
- scroll down to the last task and open the taskeditor by double clicking on it and close it.
- repeat with the other tasks above, at some point you will see the exception.
the stacktrace is
Uncaught Error: Uncaught (in promise): NotFoundError: Failed to execute 'appendChild' on 'Node': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler?
Error: Failed to execute 'appendChild' on 'Node': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler?
at Tooltip.toFront (gantt.module.js:37365:21)
at Tooltip.afterShowByTarget (gantt.module.js:55238:8)
at Tooltip.show (gantt.module.js:55292:10)
at gantt.module.js:38232:17
at Generator.next (<anonymous>)
at asyncGeneratorStep (asyncToGenerator.js:3:1)
at _next (asyncToGenerator.js:22:1)
at asyncToGenerator.js:27:1
at new ZoneAwarePromise (zone.js:1387:29)
at asyncToGenerator.js:19:1
at resolvePromise (zone.js:1213:31)
at zone.js:1120:17
at asyncGeneratorStep (asyncToGenerator.js:6:1)
at _next (asyncToGenerator.js:22:1)
at asyncToGenerator.js:27:1
at new ZoneAwarePromise (zone.js:1387:29)
at asyncToGenerator.js:19:1
at Tooltip.showBy (gantt.module.js:38233:6)
at Tooltip.showByTarget (gantt.module.js:55227:8)
at gantt.module.js:55141:12
resolvePromise @ zone.js:1213
(anonymous) @ zone.js:1120
asyncGeneratorStep @ asyncToGenerator.js:6
_next @ asyncToGenerator.js:22
(anonymous) @ asyncToGenerator.js:27
ZoneAwarePromise @ zone.js:1387
(anonymous) @ asyncToGenerator.js:19
showBy @ gantt.module.js:38233
showByTarget @ gantt.module.js:55227
(anonymous) @ gantt.module.js:55141
asyncGeneratorStep @ asyncToGenerator.js:3
_next @ asyncToGenerator.js:22
(anonymous) @ asyncToGenerator.js:27
ZoneAwarePromise @ zone.js:1387
(anonymous) @ asyncToGenerator.js:19
delayShow @ gantt.module.js:55163
(anonymous) @ gantt.module.js:55125
asyncGeneratorStep @ asyncToGenerator.js:3
_next @ asyncToGenerator.js:22
(anonymous) @ asyncToGenerator.js:27
ZoneAwarePromise @ zone.js:1387
(anonymous) @ asyncToGenerator.js:19
handleForElementOver @ gantt.module.js:55127
internalOnPointerOver @ gantt.module.js:55064
handler @ gantt.module.js:11040
invokeTask @ zone.js:406
(anonymous) @ core.mjs:23896
onInvokeTask @ core.mjs:23896
invokeTask @ zone.js:405
onInvokeTask @ core.mjs:24197
invokeTask @ zone.js:405
runTask @ zone.js:178
invokeTask @ zone.js:487
invokeTask @ zone.js:1600
globalZoneAwareCallback @ zone.js:1637
setTimeout (async)
scheduleTask @ zone.js:2543
scheduleTask @ zone.js:393
scheduleTask @ zone.js:221
scheduleMacroTask @ zone.js:244
scheduleMacroTaskWithCurrentZone @ zone.js:679
(anonymous) @ zone.js:2585
proto.<computed> @ zone.js:975
hostReportError @ hostReportError.js:2
__tryOrUnsub @ Subscriber.js:191
next @ Subscriber.js:122
_next @ Subscriber.js:72
next @ Subscriber.js:49
next @ Subject.js:39
emit @ core.mjs:20900
(anonymous) @ core.mjs:24236
invoke @ zone.js:372
run @ zone.js:134
runOutsideAngular @ core.mjs:24109
onHandleError @ core.mjs:24236
handleError @ zone.js:376
runGuarded @ zone.js:147
api.microtaskDrainDone @ zone.js:1074
drainMicroTaskQueue @ zone.js:589
invokeTask @ zone.js:491
invokeTask @ zone.js:1600
globalZoneAwareCallback @ zone.js:1637
Show 61 more frames