Diagram palette error

Cannot read property 'removeChild' of null
    at remove (dom.js?fe7b:162)
    at Diagram.eval (diagram.js?19be:7545)
    at step (diagram.js?19be:50)
    at Object.eval [as next] (diagram.js?19be:31)
    at eval (diagram.js?19be:25)
    at new Promise (<anonymous>)
    at __awaiter (diagram.js?19be:21)
    at Droppable.droppable.drop (diagram.js?19be:7408)
    at Observer.notify (observer.js?811a:99)
    at Droppable.Base.trigger (base.js?3923:181)


This is pointing to  these lines in diagram.js
case 5:
                        selectedSymbols = 'selectedSymbols';
                        if (this.droppable[selectedSymbols]) {
                            remove(this.droppable[selectedSymbols]);
                        }
                        return [2 /*return*/];



When I am dragging an element from symbol palette to diagram, In some cases I am facing this error 
and the symbol remains on the dom and I am not able to drag that symbol again

1 Reply

AR Aravind Ravi Syncfusion Team May 13, 2020 07:38 AM UTC

Hi Sunil, 
 
The reported issue has been fixed in our latest version (18.1.48). Could you please upgrade your package version to our latest version (18.1.48). we have attached a video demonstration that symbol palette symbols are properly drag and drop in the diagram. Please find the video in below link 
 
 
We have attached a simple sample for symbol palette in latest version. Please find the sample in below link 
 
 
In case if the issue still persists, please share us video demonstration of issue or modify the above sample that illustrating the issue which would help us to serve you better. 
 
Regards 
Aravind Ravi 


Loader.
Up arrow icon