Selection not respecting minimum dimensions settings
See original GitHub issueWhen you drag a selection from one corner past the diagonally opposite corner, the selection flips, respecting the set minWidth
and minHeight
, but when the selection is closer to the edge of the image than the min dimensions, it still flips, making the selection smaller than the allowed values.
I don’t think this affects the described behavior, but just to provide an accurate description: my component also sets keepSelection=true
and crop
has aspect: 1
defined.
Package versions are as follows:
"react": "16.4.1",
"react-dom": "16.4.1",
"react-image-crop": "6.0.0",
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Why don't flex items shrink past content size? - Stack Overflow
The Automatic Minimum Size of Flex Items. You're encountering a flexbox default setting. A flex item cannot be smaller than the size of...
Read more >Change the column width and row height - Microsoft Support
The table below shows the minimum, maximum and default sizes for each based ... Go to File > Options > Advanced > Display...
Read more >Build a Responsive UI with ConstraintLayout
If both the width and height are set to match constraints, you can click Toggle Aspect Ratio Constraint to select which dimension is...
Read more >[GA4] Analytics dimensions and metrics - Google Support
This article describes the dimensions and metrics that appear in your reports and explorations and in the audience and segment builders.
Read more >Responsive web design basics
Ensure an accessible viewport #. In addition to setting an initial-scale , you can also set the following attributes on the viewport: minimum- ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in 6.0.5