shlomiassaf / ngx-modialog

Modal / Dialog for Angular
http://shlomiassaf.github.io/ngx-modialog
MIT License
686 stars 242 forks source link

Can not disable escapeButtonCloses #373

Open tsl opened 7 years ago

tsl commented 7 years ago

When i use 'angular2-modal/plugins/vex', i read docs from VEX (http://github.hubspot.com/vex/api/advanced/) has param, when i set escapeButtonCloses to false, escape button still can close the modal, everyone can help me ?

defaultOptions: { content: '', unsafeContent: '', showCloseButton: true, escapeButtonCloses: false, overlayClosesOnClick: false, appendLocation: 'body', className: '', overlayClassName: '', contentClassName: '', closeClassName: '' }

upendrasengarmbwk commented 5 years ago

use setting

{
   keyboard: null
}