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

Create a 'loading' state for preview of cropped area. #3

Open
brizental opened this issue Nov 27, 2017 · 1 comment
Open

Create a 'loading' state for preview of cropped area. #3

brizental opened this issue Nov 27, 2017 · 1 comment
Labels

Comments

@brizental
Copy link
Contributor

brizental commented Nov 27, 2017

Sometimes when the cropped area is too big it takes to long to show the preview of the crop. Better to add a loading gif or something for the user not to think that the interface is frozen.

Also, the preview freezes the whole interface when the image is too big. That's a problem.

@brizental
Copy link
Contributor Author

IDEA

For optimizing the preview we could just not crop the area for previewing. Insted put the whole image in the preview area but only show the cropped area.

For this to make a bit more sense, we can just take a look at cropper.js, that's where I got the idea: https://fengyuanchen.github.io/cropperjs/

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

1 participant