We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b6735d commit 7ee4577Copy full SHA for 7ee4577
src/CornerstoneViewport/CornerstoneViewport.js
@@ -278,6 +278,10 @@ class CornerstoneViewport extends Component {
278
279
if (isOverlayVisible !== prevIsOverlayVisible)
280
this.setState({ isOverlayVisible });
281
+
282
+ // Rebind event listeners when props change to handle functional component method
283
+ this._bindExternalEventListeners(true);
284
+ this._bindExternalEventListeners();
285
}
286
287
/**
0 commit comments