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

@ -16,12 +16,12 @@
}, },
"devDependencies": {}, "devDependencies": {},
"ignore": [], "ignore": [],
"version": "1.1.76", "version": "1.1.78",
"_release": "1.1.76", "_release": "1.1.78",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "1.1.76", "tag": "1.1.78",
"commit": "e7cc31f88846c05eeff160a59e070ff6660e2d29" "commit": "85d02734e04fc0db76b288a0e57e157e6c303bf1"
}, },
"_source": "git://github.com/MediaBrowser/emby-webcomponents.git", "_source": "git://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "~1.1.5", "_target": "~1.1.5",

View file

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

View file

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