-
Notifications
You must be signed in to change notification settings - Fork 370
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
When set initial image and click button back initi modal in step 1 #242
Comments
first thank you for this amazing library. @rodmayes is this when you set a image and save it and try to edit it.. modal opens with existing image.. there you click back and browse area is shown and there you click cancel and the the modal close.. if you click the button to open the modal.. modal shows the browse box ? is this the issue about ? I need to show to existing image (second preview step ) in this situation. how to solve this ? |
When set initial image and click button back initi modal in step 1 and not in step 2 in preview. Adding the line if(this.initialImgUrl) this.setStep(2); in method off is solved
off() {
setTimeout(()=> {
this.$emit('input', false);
if(this.initialImgUrl) this.setStep(2);
else if(this.step == 3 && this.loading == 2){
this.setStep(1);
}
}, 200);
},
The text was updated successfully, but these errors were encountered: