question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot read property 'aspect' of undefined to click for to do a crop

See original GitHub issue

Hey 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

image image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
DominicTobiascommented, Nov 1, 2017

Released 3.0.6

PS I you’ll need to have an onChange prop in there too to update the state of the crop passed into the component (unless you omitted it from the snippet)

2reactions
DominicTobiascommented, Nov 1, 2017

Thanks I’m able to replicate the bug, I’ll make a release with a fix shortly

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found