无法在“节点”上执行“ removeChild”:angular 2 ag-grid

时间:2018-08-18 15:46:48

标签: google-chrome angular2-template ag-grid

在ag-grid中,我添加了 stopEditingWhenGridLosesFocus 属性为true,它在IE中可以正常运行,而在chrome中不能正常运行。每当单击网格上的文本框时,都会出现以下错误。没有此属性,它只能在chrome中工作,而不能在IE中工作。是什么原因和解决方案?

未捕获的DOMException:无法在“节点”上执行“ removeChild”:要删除的节点不再是该节点的子节点。也许它是在“模糊”事件处理程序中移动的?     在Function.Utils.removeAllChildren(http://localhost:3000/node_modules/ag-grid/dist/lib/utils.js:401:22)     在CellComp.addInCellEditor(http://localhost:3000/node_modules/ag-grid/dist/lib/rendering/cellComp.js:588:23)     在CellComp.startEditingIfEnabled(http://localhost:3000/node_modules/ag-grid/dist/lib/rendering/cellComp.js:579:18)     在CellComp.startRowOrCellEdit(http://localhost:3000/node_modules/ag-grid/dist/lib/rendering/cellComp.js:540:18)     在CellComp.onCellClicked(http://localhost:3000/node_modules/ag-grid/dist/lib/rendering/cellComp.js:801:18)     在CellComp.onMouseEvent(http://localhost:3000/node_modules/ag-grid/dist/lib/rendering/cellComp.js:710:22)     在GridPanel.processMouseEvent(http://localhost:3000/node_modules/ag-grid/dist/lib/gridPanel/gridPanel.js:545:26)     在ZoneDelegate.invokeTask(http://localhost:3000/node_modules/zone.js/dist/zone.js:367:31)     在Object.onInvokeTask(http://localhost:3000/node_modules/@angular/core/bundles/core.umd.js:3971:41)     在ZoneDelegate.invokeTask(http://localhost:3000/node_modules/zone.js/dist/zone.js:366:36)     在Zone.runTask(http://localhost:3000/node_modules/zone.js/dist/zone.js:166:47)     在HTMLDivElement.ZoneTask.invoke(http://localhost:3000/node_modules/zone.js/dist/zone.js:420:38

0 个答案:

没有答案