Skip to content

Commit cd81f2b

Browse files
authored
Merge pull request #4476 from appirio-tech/hotfix/add-copilot-fix
[HOTFIX][PROD] Fixed adding copilot bug in new milestone management
2 parents 61f2870 + 391ab0d commit cd81f2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/projects/detail/components/SimplePlan/components/AddCopilotsSidebar/AddCopilotsSidebar.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ class AddCopilotsSidebar extends React.Component {
3131
}
3232

3333
componentDidMount() {
34-
document.addEventListener('click', this.onClickOutside)
34+
document.addEventListener('mousedown', this.onClickOutside)
3535
}
3636

3737
componentWillUnmount() {
38-
document.removeEventListener('click', this.onClickOutside)
38+
document.removeEventListener('mousedown', this.onClickOutside)
3939
}
4040

4141
render() {

0 commit comments

Comments
 (0)