-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: state reset issue on overlay reopen (#58)
* fix: state reset issue on overlay reopen This commit modifies the overlayReducer to ensure that the overlayData does not get reset when an overlay is reopened without unmounting. * Create tricky-grapes-bake.md
- Loading branch information
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"overlay-kit": patch | ||
--- | ||
|
||
fix: state reset issue on overlay reopen | ||
|
||
This change fixes an issue where overlays did not retain their state when reopened without unmounting, even though they were not removed from the DOM. | ||
The overlayReducer has been updated to maintain the state of overlays between close and open cycles, addressing an unintended state reset. | ||
|
||
Related Issue: Fixes #57 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters