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

Sometimes whole canvas goes white #167

Open
jkosonen opened this issue Mar 4, 2019 · 1 comment · May be fixed by #204
Open

Sometimes whole canvas goes white #167

jkosonen opened this issue Mar 4, 2019 · 1 comment · May be fixed by #204

Comments

@jkosonen
Copy link

jkosonen commented Mar 4, 2019

Any idea why that would happen, I have some dynamic initial image stuff and sometimes when image is moved rotated or edited anyway the whole canvas just goes white and the photo is lost. Has anyone experienced anything similar and do you have solution how to prevent it. And I can not make it reproducible 100% times.

@jloracudris
Copy link

jloracudris commented Aug 9, 2019

Hey i have same issue

I have a dynamic image when it loads, i upload a new one and when i try to zoom the canvas goes white, i can reproduce it 100% of the time with some pictures

I get it with this image

https://cdn2.iconfinder.com/data/icons/professions/512/cook_woman_user-512.png

Edit:
So the bug is introduced when you are using initial-image prop, when you remove that prop it doesnt go white when zooming

Here a pen for reproducing it

https://codepen.io/jloracudris/pen/aeRvWM

Steps to reproduce:

  1. Save this image to your computer: https://ui-ex.com/images/mini-clip-avatar-1.png
  2. Open the pen, it will show you an initial image, try to upload the picture you downloaded in step 1
  3. when the new picture its uploaded try to zoom
  4. see the gray square in the canvas!

repeat all of the above but remove the initial image and it will work

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

Successfully merging a pull request may close this issue.

2 participants