Skip to content

Commit eed32da

Browse files
committed
fix(react-click-outside): react-click-outside component is buggy with latest react version and is no
#382
1 parent 9800f35 commit eed32da

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
"immutability-helper": "^2.8.1",
4444
"lodash": "^4.17.11",
4545
"prop-types": "^15.7.2",
46-
"react-click-outside": "3.0.1",
4746
"react-popopo": "^2.1.9",
4847
"react-redux": "^5.0.7",
4948
"redux": "^4.0.0",

src/components/NewLaneForm.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import PropTypes from 'prop-types'
33
import { LaneTitle, NewLaneButtons, Section } from 'rt/styles/Base'
44
import { AddButton, CancelButton } from 'rt/styles/Elements'
55
import NewLaneTitleEditor from 'rt/widgets/NewLaneTitleEditor'
6-
import ClickOutside from 'react-click-outside'
76

87
class NewLane extends Component {
98
handleSubmit = () => {
@@ -23,7 +22,6 @@ class NewLane extends Component {
2322
render() {
2423
const { onCancel, t } = this.props
2524
return (
26-
<ClickOutside onClickOutside={this.onClickOutside}>
2725
<Section>
2826
<LaneTitle>
2927
<NewLaneTitleEditor
@@ -41,7 +39,6 @@ class NewLane extends Component {
4139
<CancelButton onClick={onCancel}>{t('button.Cancel')}</CancelButton>
4240
</NewLaneButtons>
4341
</Section>
44-
</ClickOutside>
4542
)
4643
}
4744
}

yarn.lock

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7427,11 +7427,6 @@ hoist-non-react-statics@1.x.x, hoist-non-react-statics@^1.2.0:
74277427
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-1.2.0.tgz#aa448cf0986d55cc40773b17174b7dd066cb7cfb"
74287428
integrity sha1-qkSM8JhtVcxAdzsXF0t90GbLfPs=
74297429

7430-
hoist-non-react-statics@^2.1.1:
7431-
version "2.5.5"
7432-
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz#c5903cf409c0dfd908f388e619d86b9c1174cb47"
7433-
integrity sha512-rqcy4pJo55FTTLWt+bU8ukscqHeE/e9KWvsOW2b/a3afxQZhwkQdT1rPPCJ0rYXdj4vNcasY8zHTH+jF/qStxw==
7434-
74357430
hoist-non-react-statics@^3.1.0:
74367431
version "3.3.0"
74377432
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.0.tgz#b09178f0122184fb95acf525daaecb4d8f45958b"
@@ -11773,13 +11768,6 @@ react-addons-create-fragment@^15.5.3:
1177311768
loose-envify "^1.3.1"
1177411769
object-assign "^4.1.0"
1177511770

11776-
react-click-outside@3.0.1:
11777-
version "3.0.1"
11778-
resolved "https://registry.yarnpkg.com/react-click-outside/-/react-click-outside-3.0.1.tgz#6e77e84d2f17afaaac26dbad743cbbf909f5e24c"
11779-
integrity sha512-d0KWFvBt+esoZUF15rL2UBB7jkeAqLU8L/Ny35oLK6fW6mIbOv/ChD+ExF4sR9PD26kVx+9hNfD0FTIqRZEyRQ==
11780-
dependencies:
11781-
hoist-non-react-statics "^2.1.1"
11782-
1178311771
react-dev-utils@^6.1.0:
1178411772
version "6.1.1"
1178511773
resolved "https://registry.yarnpkg.com/react-dev-utils/-/react-dev-utils-6.1.1.tgz#a07e3e8923c4609d9f27e5af5207e3ca20724895"

0 commit comments

Comments
 (0)