react-grid-gallery
Advanced tools
Comparing version 0.4.10 to 0.4.11
# react-grid-gallery | ||
### v0.4.10 /2018-04-29 | ||
### v0.4.11 / 2018-04-29 | ||
* Fixed bug: propagate preloadNextImage to Lightbox [PR 78](https://github.com/benhowell/react-grid-gallery/pull/78). Thanks [ScottMRafferty](https://github.com/ScottMRafferty). | ||
### v0.4.10 / 2018-04-29 | ||
* Add contentWindow check [PR 77](https://github.com/benhowell/react-grid-gallery/pull/77). Thanks [forforf](https://github.com/forforf). | ||
@@ -6,0 +11,0 @@ |
@@ -316,2 +316,3 @@ 'use strict'; | ||
currentImage: this.state.currentImage, | ||
preloadNextImage: this.props.preloadNextImage, | ||
customControls: this.props.customControls, | ||
@@ -318,0 +319,0 @@ enableKeyboardInput: this.props.enableKeyboardInput, |
{ | ||
"name": "react-grid-gallery", | ||
"version": "0.4.10", | ||
"version": "0.4.11", | ||
"description": "Justified gallery component for React.", | ||
@@ -5,0 +5,0 @@ "main": "lib/Gallery.js", |
@@ -190,4 +190,6 @@ # React Grid Gallery | ||
* [ScottMRafferty](https://github.com/ScottMRafferty) for preloadNextImage not propagating to Lightbox fix [PR 78](https://github.com/benhowell/react-grid-gallery/pull/78) | ||
* Demo stock photos: | ||
@@ -194,0 +196,0 @@ * [Jeshu John - designerspics.com](http://designerspics.com) |
@@ -267,3 +267,4 @@ import PropTypes from 'prop-types'; | ||
<iframe style={resizeIframeStyles} | ||
ref={(c) => c && c.contentWindow && c.contentWindow.addEventListener('resize', this.onResize) } /> | ||
ref={(c) => c && c.contentWindow | ||
&& c.contentWindow.addEventListener('resize', this.onResize) } /> | ||
{images} | ||
@@ -274,2 +275,3 @@ <Lightbox | ||
currentImage={this.state.currentImage} | ||
preloadNextImage={this.props.preloadNextImage} | ||
customControls={this.props.customControls} | ||
@@ -276,0 +278,0 @@ enableKeyboardInput={this.props.enableKeyboardInput} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
433855
4176
202