Static cropper-selection size and disabled resizing on new position gives a 1px selection
Author: Olifant1990Created Jul 30, 2026Updated Aug 8, 2026
Cropper version
2.1.1
Link to minimal reproduction
https://fengyuanchen.github.io/cropperjs/playground.html
Steps to reproduce
- Open the playground
- Go to
- Set resizable disabled
- Set width and height to 100
- Click at a new random spot outside the current cropper selection
What is expected?
A new 100x100 box, not resizable
What is actually happening?
a 1x1, sometimes 2x2 or 3x3 or 2x1 or anything between box, not resizable
System Info
Playground on Firefox 153.0 on Windows 11 64x version 25H2 26200.8894Any additional comments?
No response
Source: fengyuanchen/cropperjs