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

Commit 051179e

Browse files
committed
Fix IE9 bugs
1 parent 10568cb commit 051179e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/react-image-lightbox.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class ReactImageLightbox extends Component {
4646

4747
// Lightbox is closing
4848
// When Lightbox is mounted, if animation is enabled it will open with the reverse of the closing animation
49-
isClosing: !this.props.animationDisabled,
49+
isClosing: !props.animationDisabled,
5050

5151
// Component parts should animate (e.g., when images are moving, or image is being zoomed)
5252
shouldAnimate: false,
@@ -854,6 +854,7 @@ class ReactImageLightbox extends Component {
854854
content: {
855855
backgroundColor: 'transparent',
856856
border: 'none',
857+
borderRadius: 0,
857858
},
858859
};
859860

0 commit comments

Comments
 (0)