Skip to content

Commit 2a70831

Browse files
committed
Release v3.6.1.
1 parent a2c38cc commit 2a70831

File tree

6 files changed

+15617
-6
lines changed

6 files changed

+15617
-6
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
v3.6.1 - Tue, 25 Sep 2018 11:47:45 UTC
2+
--------------------------------------
3+
4+
- [a2c38cc](../../commit/a2c38cc) [fixed] set default role for accessibility
5+
- [921358e](../../commit/921358e) Add explicit comments as suggested in PR review
6+
- [3d74c1b](../../commit/3d74c1b) Update doc to inform v3 users about close transition
7+
- [1e349c0](../../commit/1e349c0) [fixed] remove aria-modal attr to prevent browser bugs
8+
9+
110
v3.5.1 - Wed, 04 Jul 2018 10:22:38 UTC
211
--------------------------------------
312

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-modal",
3-
"version": "3.5.1",
3+
"version": "3.6.1",
44
"homepage": "https://github.com/reactjs/react-modal",
55
"authors": [
66
"Ryan Florence",

dist/react-modal.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,7 @@ Modal.defaultProps = {
712712
isOpen: false,
713713
portalClassName: portalClassName,
714714
bodyOpenClassName: bodyOpenClassName,
715+
role: "dialog",
715716
ariaHideApp: true,
716717
closeTimeoutMS: 0,
717718
shouldFocusAfterRender: true,
@@ -1872,8 +1873,7 @@ var ModalPortal = function (_Component) {
18721873
className: this.buildClassName("overlay", overlayClassName),
18731874
style: _extends({}, overlayStyles, this.props.style.overlay),
18741875
onClick: this.handleOverlayOnClick,
1875-
onMouseDown: this.handleOverlayOnMouseDown,
1876-
"aria-modal": "true"
1876+
onMouseDown: this.handleOverlayOnMouseDown
18771877
},
18781878
_react2.default.createElement(
18791879
"div",

dist/react-modal.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)