Memory leak detaching modal dialog #11664
Labels
0 - new
New issues that need assignment.
ArcGIS Field Apps
Issues logged by ArcGIS Field Apps team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
needs triage
Planning workflow - pending design/dev review.
Check existing issues
Actual Behavior
A
<calcite-dialog>
element withmodal
enabled remains in memory after detaching it from the DOM.Expected Behavior
Modal dialogs are garbage collected after detaching from the DOM.
Reproduction Sample
https://codepen.io/nwhittaker-esri/pen/jEOBjmX
Reproduction Steps
Assuming Chrome 133.
dialog.modal = false
before creating/destroying the dialog. Dumping the heap again should show no<calcite-dialog>
element is retained.Reproduction Version
3.0.3
Relevant Info
Possibly similar to #11668.
Regression?
No response
Priority impact
impact - p2 - want for an upcoming milestone
Impact
This issue impacts a complex component that is likely to be attached/detached frequently. The component is slated for the spring release.
Calcite package
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: