You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/CHANGELOG.md
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,26 @@
1
1
# overlay-kit
2
2
3
+
## 1.8.4
4
+
5
+
### Patch Changes
6
+
7
+
-[#187](https://github.com/toss/overlay-kit/pull/187)[`c3dfcf1`](https://github.com/toss/overlay-kit/commit/c3dfcf169663069955f871bfe4f61923af3a1fd3) Thanks [@jungpaeng](https://github.com/jungpaeng)! - Fixed a bug where overlays could not be reopened after closing with the same ID.
8
+
9
+
### Fixed Issues
10
+
11
+
- Resolved issue where overlays would not display when reopened with the same `overlayId` after being closed
12
+
- Improved mounting state tracking with added `isMounted` property in overlay state management
13
+
- Added state change detection logic to ensure proper reopen handling
14
+
15
+
### Changes
16
+
17
+
- Added `isMounted` property to `OverlayItem` type for better mounting state tracking
18
+
- Enhanced `ADD` action in reducer to handle reopening of existing closed overlays
19
+
- Implemented automatic reopen mechanism through state comparison in `OverlayProvider`
20
+
- Added test cases for overlay reopen scenarios
21
+
22
+
This fix ensures overlays work as expected when closing and reopening them.
0 commit comments