Skip to content

Commit

Permalink
Release v3.6.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
diasbruno committed Sep 25, 2018
1 parent a2c38cc commit 2a70831
Show file tree
Hide file tree
Showing 6 changed files with 15,617 additions and 6 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
v3.6.1 - Tue, 25 Sep 2018 11:47:45 UTC
--------------------------------------

- [a2c38cc](../../commit/a2c38cc) [fixed] set default role for accessibility
- [921358e](../../commit/921358e) Add explicit comments as suggested in PR review
- [3d74c1b](../../commit/3d74c1b) Update doc to inform v3 users about close transition
- [1e349c0](../../commit/1e349c0) [fixed] remove aria-modal attr to prevent browser bugs


v3.5.1 - Wed, 04 Jul 2018 10:22:38 UTC
--------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-modal",
"version": "3.5.1",
"version": "3.6.1",
"homepage": "https://github.com/reactjs/react-modal",
"authors": [
"Ryan Florence",
Expand Down
4 changes: 2 additions & 2 deletions dist/react-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@ Modal.defaultProps = {
isOpen: false,
portalClassName: portalClassName,
bodyOpenClassName: bodyOpenClassName,
role: "dialog",
ariaHideApp: true,
closeTimeoutMS: 0,
shouldFocusAfterRender: true,
Expand Down Expand Up @@ -1872,8 +1873,7 @@ var ModalPortal = function (_Component) {
className: this.buildClassName("overlay", overlayClassName),
style: _extends({}, overlayStyles, this.props.style.overlay),
onClick: this.handleOverlayOnClick,
onMouseDown: this.handleOverlayOnMouseDown,
"aria-modal": "true"
onMouseDown: this.handleOverlayOnMouseDown
},
_react2.default.createElement(
"div",
Expand Down
4 changes: 2 additions & 2 deletions dist/react-modal.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 2a70831

Please sign in to comment.