You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
when load a cropped image, there is a strange crop range projection on the image #603
Issue:
There is a strange crop range projection on the image. See the picture below:
When start to drag the crop selection, then that strange crop range projection is gone. See the picture below:
But after the cropping, when you re-open the image with cropped data again, the strange crop range projection shows up again.
Can you please help me to identify how to get rid of this strange crop range projection? Is it a style issue somewhere when displaying the canvas-drawn image inside ReactCrop? Thanks
Activity
LuckyLuo commentedon Sep 11, 2024
Found a workaround here: #579 (comment)
Remove default crop value const [crop, setCrop] = useState();
Instead, do it on imageLoad with setCrop({ ... })