Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: third_party/polymer/components/neon-animation/neon-animated-pages.html

Issue 2113853002: Run bower update (Closed) Base URL: https://github.com/catapult-project/catapult@polymer10-migration
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/components/neon-animation/neon-animated-pages.html
diff --git a/third_party/polymer/components/neon-animation/neon-animated-pages.html b/third_party/polymer/components/neon-animation/neon-animated-pages.html
index b115ae20e865d72aa5b1c57bf13dbb2476ce8da5..4cc94c72b6e1958ace9e8811936aa384f89e8e3b 100644
--- a/third_party/polymer/components/neon-animation/neon-animated-pages.html
+++ b/third_party/polymer/components/neon-animation/neon-animated-pages.html
@@ -98,7 +98,7 @@ animations to be run when switching to or switching out of the page.
if (this.items.indexOf(selectedPage) < 0) {
return;
}
-
+
var oldPage = this._valueToItem(this._prevSelected) || false;
this._prevSelected = this.selected;
@@ -108,11 +108,7 @@ animations to be run when switching to or switching out of the page.
return;
}
- // insert safari fix.
- this.animationConfig = [{
- name: 'opaque-animation',
- node: selectedPage
- }];
+ this.animationConfig = [];
// configure selectedPage animations.
if (this.entryAnimation) {
@@ -163,7 +159,7 @@ animations to be run when switching to or switching out of the page.
selectedPage.classList.add('neon-animating');
// actually run the animations.
- if (this.animationConfig.length > 1) {
+ if (this.animationConfig.length >= 1) {
// on first load, ensure we run animations only after element is attached.
if (!this.isAttached) {

Powered by Google App Engine
This is Rietveld 408576698