Removing an archer element from DOM causes crash
See original GitHub issueI am working on a tree view structure. When I remove one of the nodes from my tree (wrapped in an archer element) I get the error: Uncaught TypeError: Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element'.
from React Archer.
I’m not sure if you have seen this issue before, but removing the archer container and archer elements from my project works as expected.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
javascript - If a DOM Element is removed, are its listeners also ...
According to the jquery Documentation when using remove() method over an element, all event listeners are removed from memory. This affects the element...
Read more >Manipulating the DOM with Refs - React Docs
After you've manually removed the DOM element, trying to use setState to show it again will lead to a crash. This is because...
Read more >Instructions to Police for Reporting Crashes
These instructions have been revised to match the Form CR-3 1/1/2015 and cover most situations that arise in motor vehicle crash ...
Read more >Centro de noticias de Steam
Fixed a crash which could occur during dropship descent that was cause by ... Fixed map icons not removing widget from parent once...
Read more >DOM elements | Maps JavaScript API - Google Developers
In the onRemove() method, you should remove the objects from the DOM. You must call setMap() with a valid Map object to trigger...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure, here it is: https://github.com/pierpo/react-archer/releases/tag/v2.0.0
Thank you for pointing out this issue, I had not realized this release would break existing layouts. I thought it would only break for usages with multiple children to ArcherElement.
The unclickable element was very likely linked to this https://github.com/pierpo/react-archer/issues/97
Thank you for reporting an issue!