ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

PopoverUtil report endless errors

Open SunnyWind opened this issue 6 years ago • 2 comments

Describe the bug In my Karma test, If I create a Popover, and remove the DOM mounted with the Popover, I will get endless ERROR logs like the pic. Even though I use ReactDOM.unmountComponentAtNode(); to unmount ahead, I still get these errors. image

image

Expected behavior No error reported.

Context

  • UI5 Web Components version: "@ui5/webcomponents": "1.0.0-rc.7"
  • OS/Platform: MacOS
  • Browser (if relevant): Karma(Chrome)

Affected components Popover

SunnyWind avatar Aug 31 '20 15:08 SunnyWind

Hello @SunnyWind

Have you tried reproducing the bug with version RC8? If the bug is still present, could you please create a CodeSandbox example with the issue. Locally I am not able to reproduce the issue by removing the popup parent from the DOM

fifoosid avatar Sep 01 '20 06:09 fifoosid

Hi @fifoosid

I wrote a sample to reproduce this issue. https://codesandbox.io/s/vigorous-sky-bwg5k?file=/src/App.js

SunnyWind avatar Sep 03 '20 06:09 SunnyWind