Merge changes from upstream with the CSS reload fix
This commit is contained in:
		@@ -186,6 +186,12 @@ export default class MediaGallery extends React.PureComponent {
 | 
			
		||||
    visible: !this.props.sensitive,
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  componentWillReceiveProps (nextProps) {
 | 
			
		||||
    if (nextProps.sensitive !== this.props.sensitive) {
 | 
			
		||||
      this.setState({ visible: !nextProps.sensitive });
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  handleOpen = () => {
 | 
			
		||||
    this.setState({ visible: !this.state.visible });
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user