vuejs-dialog icon indicating copy to clipboard operation
vuejs-dialog copied to clipboard

Prevent escape

Open kopeccc opened this issue 5 years ago • 4 comments

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

kopeccc avatar Nov 26 '19 10:11 kopeccc

Hello @kopeccc

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

Godofbrowser avatar Nov 26 '19 19:11 Godofbrowser

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..

kopeccc avatar Nov 29 '19 12:11 kopeccc

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

Godofbrowser avatar Dec 06 '19 08:12 Godofbrowser

Thank you @Godofbrowser

kopeccc avatar Dec 10 '19 07:12 kopeccc