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

Clipper-classic ignore ration on init #71

Closed
mrquokka opened this issue Sep 9, 2020 · 2 comments
Closed

Clipper-classic ignore ration on init #71

mrquokka opened this issue Sep 9, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@mrquokka
Copy link

mrquokka commented Sep 9, 2020

Describe the bug
If i set ratio to "1" and open image like 400x700, ratio of selected ignored(it will be 4:7)

To Reproduce
<clipper slot="content" :src="loaded_image" ref="clipper" :ratio="1" />

Expected behavior
init_size need to 50px x 50px*ratio or somethink another

Screenshots
https://ibb.co/XSpW9RS

Desktop (please complete the following information):
Ubuntu 20.04, Chrome 85

@mrquokka mrquokka added the bug Something isn't working label Sep 9, 2020
@timtnleeProject
Copy link
Owner

Hi @mrquokka ,
thanks for reporting this issue.

The root cause is that the component did not reset position correctly (should reset in the $nextTick).

This will be fixed on v3.0.2

@mrquokka
Copy link
Author

mrquokka commented Sep 9, 2020

Hi @mrquokka ,
thanks for reporting this issue.

The root cause is that the component did not reset position correctly (should reset in the $nextTick).

This will be fixed on v3.0.2

@timtnleeProject, thanks checked and problem now resolved

@mrquokka mrquokka closed this as completed Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants