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

React, node module, drawImage error #43

Open
micholenko opened this issue Feb 22, 2022 · 2 comments
Open

React, node module, drawImage error #43

micholenko opened this issue Feb 22, 2022 · 2 comments
Assignees

Comments

@micholenko
Copy link

Hi, I'm having some issues using your extention with npm and React.

I have created this example: https://codesandbox.io/s/yngv6q
Note that the same issue is present on my machine.

Everytime try to resize an element, this error appears

image

I've tried many different library version combinations, nothing works.

Thanks in advance.

@canbax
Copy link
Member

canbax commented Feb 24, 2022

It seems like this totally related to Konva. Maybe upgrading it could help. To upgrade Konva current implementation should be changed

@SiimTa
Copy link

SiimTa commented Nov 15, 2023

Anyone struggling with that - the error is caused if you rely on resizeToContentCueImage default value.
You can assign your own image or set it to empty string, ie "" which is valid src for the image.

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

No branches or pull requests

3 participants