Cannot read property 'aspect' of undefined to click for to do a crop
See original GitHub issueHey Dominic Thanks for this library!
I have a issue when try to implement the puglin. When I try to do click for selcect an area for to do a crop, It’s throw an exception. Do you have any idea about this?
Cannot read property 'aspect' of undefined
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Cannot read property instance of undefined Angular 8
but I get this error everytime "Cannot read property instance of undefined" on the image-cropper. Preview() is called successfully and this.
Read more >Cannot read property 'width' of null when opening crop UI ...
When I click on a Manualcrop thumbnail to edit crop area in the overlay, I always get error message Uncaught TypeError: Cannot read...
Read more >Croppie - a simple javascript image cropper - Foliotek
Croppie is dependent on it's container being visible when the bind method is called. This can be an issue when your croppie component...
Read more >LWC - Cannot read property * of undefined
Logging this.project will result in undefined - just as the error says. You may have a typo in import section. Is your SObject's...
Read more >react-image-crop - npm
Crop anything, not just images. If React Crop doesn't cover your requirements then take a look at Pintura. It features cropping, rotating, ...
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 Free
Top 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
Released 3.0.6
PS I you’ll need to have an
onChange
prop in there too to update the state of thecrop
passed into the component (unless you omitted it from the snippet)Thanks I’m able to replicate the bug, I’ll make a release with a fix shortly