Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'isValid' of null #627

Open
tiavina-mika opened this issue Aug 22, 2021 · 3 comments
Open

TypeError: Cannot read property 'isValid' of null #627

tiavina-mika opened this issue Aug 22, 2021 · 3 comments
Labels

Comments

@tiavina-mika
Copy link

tiavina-mika commented Aug 22, 2021

I have this "TypeError: Cannot read property 'isValid' of null" error when running the getCropzoneRect() method.

editorRef.current?.getInstance().getCropzoneRect()

here is the full demo / code:
https://codesandbox.io/s/github/tiavina-mika/image-editor (click to the crop button to reproduce the error)

PS: I just need the apis so I set the menus and others buttons from the UI to display none.

@lja1018
Copy link
Contributor

lja1018 commented Aug 25, 2021

@tiavina-mika
Thank you for reporting the bug.
I'll fix it.

@aferrari-arg
Copy link

Any progress about this issue ? It's happening the same to me

@lja1018
Copy link
Contributor

lja1018 commented Jul 14, 2022

@aferrari-arg
There is no progress yet. I'm sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants