Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

Commit 9f4db71

Browse files
committed
Fix window resize bug
1 parent 40a8af8 commit 9f4db71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/react-image-lightbox.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class ReactImageLightbox extends Component {
6363
this.handleOuterMouseDown = this.handleOuterMouseDown.bind(this);
6464
this.handleOuterMouseMove = this.handleOuterMouseMove.bind(this);
6565
this.handleOuterMousewheel = this.handleOuterMousewheel.bind(this);
66+
this.handleWindowResize = this.handleWindowResize.bind(this);
6667
this.handleZoomInButtonClick = this.handleZoomInButtonClick.bind(this);
6768
this.handleZoomOutButtonClick = this.handleZoomOutButtonClick.bind(this);
6869
this.requestClose = this.requestClose.bind(this);

0 commit comments

Comments
 (0)