github toss/overlay-kit overlay-kit@1.8.4

latest releases: overlay-kit@1.9.0, overlay-kit@1.8.6, overlay-kit@1.8.5...
10 months ago

Patch Changes

  • #187 c3dfcf1 Thanks @jungpaeng! - Fixed a bug where overlays could not be reopened after closing with the same ID.

    Fixed Issues

    • Resolved issue where overlays would not display when reopened with the same overlayId after being closed
    • Improved mounting state tracking with added isMounted property in overlay state management
    • Added state change detection logic to ensure proper reopen handling

    Changes

    • Added isMounted property to OverlayItem type for better mounting state tracking
    • Enhanced ADD action in reducer to handle reopening of existing closed overlays
    • Implemented automatic reopen mechanism through state comparison in OverlayProvider
    • Added test cases for overlay reopen scenarios

    This fix ensures overlays work as expected when closing and reopening them.

Don't miss a new overlay-kit release

NewReleases is sending notifications on new releases.