Skip to content

Commit

Permalink
fix(ie): clicking overlay closes
Browse files Browse the repository at this point in the history
Fixes #87

Makes pointer-events on the dialog itself `pointer-events: auto;`
instead of initial which appears to fix the Internet Explorer bug.
  • Loading branch information
plwalters committed Feb 9, 2016
1 parent b449c02 commit 2c4cfa6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions sample/src/edit-person.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export class EditPerson {
person = { firstName: '' };
constructor(controller){
this.controller = controller;
this.controller.settings.lock = false;
}
activate(person){
this.person = person;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/dialog.less
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ ai-dialog {
border-image-repeat: initial;
background: white;

pointer-events: initial;
pointer-events: auto;

> ai-dialog-header {
display: block;
Expand Down
2 changes: 1 addition & 1 deletion styles/dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ai-dialog {
border-image-outset: initial;
border-image-repeat: initial;
background: white;
pointer-events: initial;
pointer-events: auto;
}
ai-dialog > ai-dialog-header {
display: block;
Expand Down

0 comments on commit 2c4cfa6

Please sign in to comment.