This repository has been archived by the owner on Mar 4, 2020. It is now read-only.
Memory Leak: Dialog component is leaking the last dialog instance #2220
Labels
vsts
Paired with ticket in vsts
Bug Report
Dialog component is leaking the last dialog instance
Leak size: ~200KB for the provided example, can be more depending on the actual contents of the dialog.
Steps
Expected Result
Dialog component should be completely destroy on close.
Actual Result
The last dialog stays in memory. It looks like the button used to trigger opening of the dialog retains a reference to the Dialog portal:
Version
0.43.0
Testcase
Sandbox: https://codesandbox.io/s/66c8p
Direct link: https://66c8p.csb.app/
The text was updated successfully, but these errors were encountered: