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

VsPrompt Not Closing and hangs the screen when someone presses back button #717

Closed
Apoorv-Bhatnagar opened this issue Nov 16, 2019 · 1 comment · Fixed by #762
Closed

Comments

@Apoorv-Bhatnagar
Copy link

On pressing back button Vs-Prompt gets stuck on the screen and it does not respond.
While that is not the case for dialog ( function extended by using Vs-Prompt) ,The reason is ` ```
instance.vm = instance.$mount();

props.accept?instance.vm.$on('accept', props.accept):null
props.cancel?instance.vm.$on('cancel', props.cancel):null
`

As When using the function you are mounting the entire thing in the vue instance and listening for the event listener,therefore it works properly.

While In Vs-Prompt it is being specific to that page only and when some other Vue page renders on the screen, The Prompt gets stuck and locks the entire DOM.

Please Fix this as soon as possible because we are using your framework in the production mode.
@shivamguys
Copy link

lusaxweb/vuesax-next#20

Tofandel pushed a commit to Tofandel/fixed-vuesax that referenced this issue Apr 26, 2021
Tofandel pushed a commit to Tofandel/fixed-vuesax that referenced this issue Apr 26, 2021
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

Successfully merging a pull request may close this issue.

2 participants