-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Suppose you have
<ImageCrop
image={this.props.image}
cropHeight={this.props.height}
cropWidth={this.props.width}
zoom={this.state.zoom}
/>
Changing the zoom in the state via .setState does not control the zooming of the cropper. For example I would like to have an "update" action in which I change the image source and I reset the zoom to 0. It works for changing the image source, but providing a new zoom doesn't seem to do anything, the new image is zoomed in as the old image was before updating.
administerspice
Metadata
Metadata
Assignees
Labels
No labels