update components

This commit is contained in:
Luke Pulverenti 2016-03-22 14:29:33 -04:00
parent a048a3c69a
commit 1a49b5c6d4
3 changed files with 9 additions and 11 deletions

View file

@ -4,7 +4,6 @@
z-index: 999999 !important;
background-color: #fff;
position: fixed;
display: block;
margin: 24px 40px;
-webkit-overflow-scrolling: touch;
background: #ffffff;

View file

@ -86,6 +86,8 @@
hasManualBackdrop = true;
dlg.show();
}
// Undo the auto-focus applied by the native dialog element
safeBlur(document.activeElement);
} else {
addBackdropOverlay(dlg);
hasManualBackdrop = true;
@ -100,9 +102,6 @@
}
animateDialogOpen(dlg);
// Undo the auto-focus applied by the native dialog element
safeBlur(document.activeElement);
if (dlg.getAttribute('data-autofocus') == 'true') {
focusManager.autoFocus(dlg);
}
@ -322,9 +321,9 @@
// too buggy in IE, not even worth it
if (!browser.animate) {
//dlg.animationConfig = null;
//dlg.entryAnimation = null;
//dlg.exitAnimation = null;
dlg.animationConfig = null;
dlg.entryAnimation = null;
dlg.exitAnimation = null;
}
dlg.classList.add('paperDialog');