⛔ Deprecation Warning ⛔
This particle is being deprecated, please use the modal found here: https://procore.github.io/core/latest/#/react/elements/modal
Modal
A Modal Component
Example
Change Log
4.0.2
- Updated body locking to work with
show
prop
4.0.1
- Added back zIndex
4.0.0
- Modals are now portaled
- Breaking Upgraded to React 16
- Added
show
prop to modal
3.1.0
- Prevent
documentElement
from scrolling while open - Use position: fixed
3.0.0
- Breaking Many unnecessary props cleaned up
- UX update
- Unit tests update
- Add preprod hook
2.0.3
- Add unit tests, CSS module mocking, and code coverage reporting.
2.0.2
- Enabling CSS Modules to be mocked for tests with identity-obj-proxy.
2.0.1
- Sandbox and minor bug fixed.
2.0.0
- Use
onOpen
,onClose
props instead ofbeforeOpen
,afterOpen
,beforeClose
,afterClose
. -
size
prop removed. Instead user can set modal size throughstylesheets
prop. - Remove
disableHeader
prop. - Unit test introduced.
1.1.0
Added stylesheets
props.
1.0.4
New size
props.
1.0.3
Provide option of headerless and footerless.
1.0.2
Give the modal a minimum width and auto overflow.
1.0.1
Removed stopPrpagation on modal window.
1.0.0
Initial Commits