Viewers
Viewers copied to clipboard
[Bug] Overlay fails on viewports when used with hanging protocols
Describe the Bug
When using hanging protocols, and going into a study from the study browser or from a direct link, sometimes some or all of the overlays fail to render with a console error. Refreshing the page or going from one stage to another seems to work fine all the time.
Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
at http://localhost:3000/vendors-node_modules_cornerstonejs_tools_dist_esm_store_index_js.js:1998:29
at Array.forEach (
Steps to Reproduce
- Get this DX in a server. DX.zip
- Open the study with at least 1x2 HP (&hangingProtocolId=@ohif/mnGrid) from the study browser or using a direct link in a new tab
The current behavior
Sometimes the overlay fails to render
The expected behavior
Always renders the overlay
OS
Windows 10
Node version
20.11.1
Browser
Chrome 125.0.6422.77
Thanks, we will look
Fixed in https://github.com/OHIF/Viewers/pull/4224
We released OHIF 3.9 which address this issue