Skip to content

Releases: trendmicro-frontend/react-modal

v2.0.4

15 Mar 08:15
Compare
Choose a tag to compare

Resolved an issue that React does not recognize the disableOverlay prop on a DOM element (528c97f)

v2.0.3

08 Mar 06:33
Compare
Choose a tag to compare

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

26 Jan 11:53
Compare
Choose a tag to compare

Fixed a bug where clicking the topmost overlay will forcefully close all open modal dialogs (08b5a30)

v2.0.1

23 Jan 03:59
Compare
Choose a tag to compare

Increases modal overlay's z-index value from 1000 to 1050 (31d9478)

v2.0.0

14 Jan 05:03
Compare
Choose a tag to compare

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

14 Jan 04:32
Compare
Choose a tag to compare

Bug Fixes

  • Centering modal using a ghost element instead of the translate() function to prevent float position after transform (db0583c)

v1.0.1

14 Jan 03:30
Compare
Choose a tag to compare
  • Unset "overflow: auto" property to prevent unexpected vertical or horizontal scrollbar (acede9c)
  • No outline for the close button (9c05f3c)

v0.10.0

14 Jan 04:19
Compare
Choose a tag to compare

Bug Fixes

  • Centering modal using a ghost element instead of the translate() function to prevent float position after transform (db0583c)

v0.9.2

14 Jan 03:18
Compare
Choose a tag to compare
  • Unset "overflow: auto" property to prevent unexpected vertical or horizontal scrollbar (acede9c)
  • No outline for the close button (9c05f3c)

v1.0.0

02 Jan 10:34
Compare
Choose a tag to compare

Breaking

The size prop now defaults to an empty string that will automatically resize to fit contents.