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

When set initial image and click button back initi modal in step 1 #242

Open
rodmayes opened this issue Jul 15, 2021 · 1 comment
Open

Comments

@rodmayes
Copy link

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);
},

@sandeshsapkota
Copy link

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 ?
Thank you.

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

2 participants