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

Option for enabling escape key with blocking #95

Open
johnlimpin opened this issue Oct 23, 2019 · 1 comment
Open

Option for enabling escape key with blocking #95

johnlimpin opened this issue Oct 23, 2019 · 1 comment

Comments

@johnlimpin
Copy link

May we request a feature that we can enable the blocking feature but keep the escape button working? Our client only wants blocking the user when clicking outside the modal, but still want the escape button working. So that we can remove extra codes e.g. addEventListeners per every component that uses sweet modal.

Thanks!

@johnlimpin
Copy link
Author

Here's the forked version to show what I am after. If you find it useful please let me know so I can submit pull request.

https://github.com/johnlimpin/sweet-modal-vue/commits/master

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

No branches or pull requests

1 participant