Releases: trendmicro-frontend/react-modal
Releases · trendmicro-frontend/react-modal
v2.0.4
Resolved an issue that React does not recognize the disableOverlay
prop on a DOM element (528c97f)
v2.0.3
Adds ability to apply className and style for modal overlay (fbcf8a4)
Name |
Type |
Default |
Description |
overlayClassName |
String |
|
className to assign to modal overlay. |
overlayStyle |
Object |
|
style to assign to modal overlay. |
v2.0.2
Fixed a bug where clicking the topmost overlay will forcefully close all open modal dialogs (08b5a30)
v2.0.1
Increases modal overlay's z-index value from 1000 to 1050 (31d9478)
v2.0.0
Breaking Changes
- No longer required react-modal as its dependency
- Properties
- Removed "onOpen" property
- Renamed "closeOnOverlayClick" to "disableOverlay"
Bug Fixes
- Centering modal using a ghost element instead of the
translate()
function to prevent float position after transform
- No outline for the close button
v1.1.0
Bug Fixes
- Centering modal using a ghost element instead of the
translate()
function to prevent float position after transform (db0583c)
v1.0.1
- Unset "overflow: auto" property to prevent unexpected vertical or horizontal scrollbar (acede9c)
- No outline for the close button (9c05f3c)
v0.10.0
Bug Fixes
- Centering modal using a ghost element instead of the
translate()
function to prevent float position after transform (db0583c)
v0.9.2
- Unset "overflow: auto" property to prevent unexpected vertical or horizontal scrollbar (acede9c)
- No outline for the close button (9c05f3c)
v1.0.0
Breaking
The size prop now defaults to an empty string that will automatically resize to fit contents.