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

Canvas goes empty after zooming (happens with certain images) #191

Open
jloracudris opened this issue Aug 9, 2019 · 0 comments
Open

Canvas goes empty after zooming (happens with certain images) #191

jloracudris opened this issue Aug 9, 2019 · 0 comments

Comments

@jloracudris
Copy link

Hey Guys

Really nice work with this lib, this issue was reported on march but it didnt get visibility (#167)

I am readdresing this bug, so maybe one of you guys can see it..

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
    Open the pen, it will show you an initial image, try to upload the picture you downloaded in step 1
  2. when the new picture its uploaded try to zoom
  3. 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

No branches or pull requests

1 participant