Troubleshooting

Start with the symptom, then follow the linked guide for the complete pattern.

SymptomCheck
Cropper is empty or onError firesVerify the URL is readable and the browser can decode the image. See loading failures and CORS.
A phone photo will not openCheck HEIC conversion and delayed file access.
Export is empty, fails on a phone, or has black JPEG cornersLimit dimensions, handle a null Blob, and set fillColor. See export and memory.
A custom background displays but exports nothingAttach the actual drawable source and resolve canvas readiness. See Image editor.
Cropper overflows a dialog or has zero sizeGive it a definite height, then refresh after showing it.
Cropper loses its opening view after a resizeRefresh preserves the current view. See keep the opening view.
Dragging behaves strangely inside transformed contentScale is supported; rotated and skewed ancestors are not. See scaled containers.
Styles do not reach a stencil or handlerUse a root class and global part selectors.
Two stencils cause an errorKeep one live stencil per cropper; see child lifetime.

To compare the current crop with its opening state, see reset and dirty state. For application-specific settings or layer props, see composition.