update components
This commit is contained in:
parent
a048a3c69a
commit
1a49b5c6d4
3 changed files with 9 additions and 11 deletions
|
@ -4,7 +4,6 @@
|
|||
z-index: 999999 !important;
|
||||
background-color: #fff;
|
||||
position: fixed;
|
||||
display: block;
|
||||
margin: 24px 40px;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
background: #ffffff;
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue