Skip to content

Prevent escape #65

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

Open
kopeccc opened this issue Nov 26, 2019 · 4 comments
Open

Prevent escape #65

kopeccc opened this issue Nov 26, 2019 · 4 comments

Comments

@kopeccc
Copy link

kopeccc commented Nov 26, 2019

Hello,
is there any possibility to prevent close dialog when ESC is pressed?
Thank you for any answer :)

@Godofbrowser
Copy link
Owner

Hello @kopeccc

That configuration is not available at this time. Can you help me understand why this functionality may be needed?

@kopeccc
Copy link
Author

kopeccc commented Nov 29, 2019

Hello,
I am using your vuejs-dialog as a custom component to collect some data from user. There are some other components on my dialog, that uses ESC to cancel an input form user too. But this cancels whole dialog :( It would be great to disable ESC key press event in vuejs-dialog config ;)
Regards..

@Godofbrowser
Copy link
Owner

This is doable @kopeccc . Will try adding it to the configurations over the weekend, however pull requests are welcome if someone wants to pick this up too

@kopeccc
Copy link
Author

kopeccc commented Dec 10, 2019

Thank you @Godofbrowser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants