Skip to content

Commit

Permalink
Update react-contextmenu to avoid event handler issues un unload
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed Mar 20, 2019
1 parent f86ac1c commit 3b140d9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion js/views/conversation_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
},

onArchive: () => {
this.unload();
this.unload('archive');
this.model.setArchived(true);
},
onMoveToInbox: () => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"protobufjs": "6.8.6",
"proxy-agent": "3.0.3",
"react": "16.8.3",
"react-contextmenu": "2.9.2",
"react-contextmenu": "2.11.0",
"react-dom": "16.8.3",
"react-redux": "6.0.1",
"react-virtualized": "9.21.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7413,10 +7413,10 @@ react-codemirror2@^4.2.1:
version "4.2.1"
resolved "https://registry.yarnpkg.com/react-codemirror2/-/react-codemirror2-4.2.1.tgz#4ad3c5c60ebbcb34880f961721b51527324ec021"

react-contextmenu@2.9.2:
version "2.9.2"
resolved "https://registry.yarnpkg.com/react-contextmenu/-/react-contextmenu-2.9.2.tgz#7076075f09e4cad023a1252da347d9e6782d003a"
integrity sha512-DdcO6iLBIJuDVsRpJLG/9N6ine0OVZhuQvnSPCEihfcyJFz+SHU9pQo+w9LWi2PdUxFbFV52BwAuutQkAYJxaA==
react-contextmenu@2.11.0:
version "2.11.0"
resolved "https://registry.yarnpkg.com/react-contextmenu/-/react-contextmenu-2.11.0.tgz#ec57614e6d687ceaec5c0ba97d56a302c9551d17"
integrity sha512-vT9QV9p/9h1BSIvmajRVG3KsgjuBnISpEQp0F1QYsUPFMe3VOKV2l7IiD8yrNUyXYZKrWMqI0YKsaBwGSRVgJg==
dependencies:
classnames "^2.2.5"
object-assign "^4.1.0"
Expand Down

0 comments on commit 3b140d9

Please sign in to comment.