Skip to content

Commit

Permalink
fix(react-click-outside): react-click-outside component is buggy with…
Browse files Browse the repository at this point in the history
… latest react version and is no

#382
  • Loading branch information
rcdexta committed Jul 25, 2020
1 parent 9800f35 commit eed32da
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"immutability-helper": "^2.8.1",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react-click-outside": "3.0.1",
"react-popopo": "^2.1.9",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
Expand Down
3 changes: 0 additions & 3 deletions src/components/NewLaneForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import PropTypes from 'prop-types'
import { LaneTitle, NewLaneButtons, Section } from 'rt/styles/Base'
import { AddButton, CancelButton } from 'rt/styles/Elements'
import NewLaneTitleEditor from 'rt/widgets/NewLaneTitleEditor'
import ClickOutside from 'react-click-outside'

class NewLane extends Component {
handleSubmit = () => {
Expand All @@ -23,7 +22,6 @@ class NewLane extends Component {
render() {
const { onCancel, t } = this.props
return (
<ClickOutside onClickOutside={this.onClickOutside}>
<Section>
<LaneTitle>
<NewLaneTitleEditor
Expand All @@ -41,7 +39,6 @@ class NewLane extends Component {
<CancelButton onClick={onCancel}>{t('button.Cancel')}</CancelButton>
</NewLaneButtons>
</Section>
</ClickOutside>
)
}
}
Expand Down
12 changes: 0 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7427,11 +7427,6 @@ [email protected], hoist-non-react-statics@^1.2.0:
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-1.2.0.tgz#aa448cf0986d55cc40773b17174b7dd066cb7cfb"
integrity sha1-qkSM8JhtVcxAdzsXF0t90GbLfPs=

hoist-non-react-statics@^2.1.1:
version "2.5.5"
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz#c5903cf409c0dfd908f388e619d86b9c1174cb47"
integrity sha512-rqcy4pJo55FTTLWt+bU8ukscqHeE/e9KWvsOW2b/a3afxQZhwkQdT1rPPCJ0rYXdj4vNcasY8zHTH+jF/qStxw==

hoist-non-react-statics@^3.1.0:
version "3.3.0"
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.0.tgz#b09178f0122184fb95acf525daaecb4d8f45958b"
Expand Down Expand Up @@ -11773,13 +11768,6 @@ react-addons-create-fragment@^15.5.3:
loose-envify "^1.3.1"
object-assign "^4.1.0"

[email protected]:
version "3.0.1"
resolved "https://registry.yarnpkg.com/react-click-outside/-/react-click-outside-3.0.1.tgz#6e77e84d2f17afaaac26dbad743cbbf909f5e24c"
integrity sha512-d0KWFvBt+esoZUF15rL2UBB7jkeAqLU8L/Ny35oLK6fW6mIbOv/ChD+ExF4sR9PD26kVx+9hNfD0FTIqRZEyRQ==
dependencies:
hoist-non-react-statics "^2.1.1"

react-dev-utils@^6.1.0:
version "6.1.1"
resolved "https://registry.yarnpkg.com/react-dev-utils/-/react-dev-utils-6.1.1.tgz#a07e3e8923c4609d9f27e5af5207e3ca20724895"
Expand Down

0 comments on commit eed32da

Please sign in to comment.