Cropper version
2.1.0
Link to minimal reproduction
https://fengyuanchen.github.io/cropperjs/v2/playground.html
Steps to reproduce
- Go to Playground.
- Scroll down to <cropper-selection>
- Maximize the initiial-coverage
What is expected?
Container should limit to image. When autocroparea was set to 1 in v1, that was the outcome.
EDIT: v1 had this functionality when ViewMode was set to 1 or 2.
What is actually happening?
Container limits to the whole canvas, including the part that is not the image.
System Info
Any additional comments?
initialCoverage should not be considered a replacement of autocroparea if it acts differently. Either a different migration should be provided or initialCoverage should limit to the image.