Open sentry-io[bot] opened 4 years ago
the issue is happening here in CropperWrapper.js
:
cropperHelper = () => {
const { updatePhotoEdit } = this.props
let canvas
if (this.cropper) {
if (browser.name === "safari" || browser.name === "ios") { // <- HERE!
canvas = this.cropper.getCroppedCanvas()
} else {
canvas = this.cropper.getCroppedCanvas({
width: 512,
height: 512
it looks like we're seeing this mainly on iOS v 12.x, so it might be that the browser detection thing we're using is out-of-date now, and upgrading it could help.
alternatively, we could try adding a defensive
if (browser && browser.name === "safari"...
type check.
Sentry Issue: MICROMASTERS-155