From 927054b6e6c673b8a2f6081bde597c3cca49ff82 Mon Sep 17 00:00:00 2001 From: Doug MacKenzie Date: Wed, 21 Feb 2024 15:35:41 +1100 Subject: [PATCH] Reword changeset --- .changeset/fluffy-spies-thank.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.changeset/fluffy-spies-thank.md b/.changeset/fluffy-spies-thank.md index 72791b69523..8bd50e6ffa8 100644 --- a/.changeset/fluffy-spies-thank.md +++ b/.changeset/fluffy-spies-thank.md @@ -2,4 +2,6 @@ "@kaizen/components": patch --- -Fix the unscrollable problem when a modal is unmounted after confirmation +Bug fix for modals: ensure clean up runs when the modal is unmounted. + +This bug created unscrollable pages if the modal was removed from the DOM before its `onAfterLeave` callback was able to run.