Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Modal): run close based on prop, not state
Due to setState's async nature, when the modal is opened and closed before setState has finished the modal does not properly cleanup after itself. Since the init which add the body class is based on props, not state; this change makes the close that cleans up the body class be based on props and not state as well. fixes #1626
- Loading branch information