From f6afdc25916337c513d87b5289ebac5cccccb24a Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Wed, 2 Dec 2015 08:52:30 -0600 Subject: [PATCH] fix(popup): prevent popup flicker Closes #669 --- ionic/components/popup/popup.scss | 2 ++ ionic/components/popup/test/basic/index.ts | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ionic/components/popup/popup.scss b/ionic/components/popup/popup.scss index b9c0d16073..e41d71095b 100644 --- a/ionic/components/popup/popup.scss +++ b/ionic/components/popup/popup.scss @@ -32,6 +32,8 @@ ion-popup { display: flex; flex-direction: column; + + opacity: 0; } input, diff --git a/ionic/components/popup/test/basic/index.ts b/ionic/components/popup/test/basic/index.ts index 1f22c5c096..8fc23d3abc 100644 --- a/ionic/components/popup/test/basic/index.ts +++ b/ionic/components/popup/test/basic/index.ts @@ -37,7 +37,7 @@ class E2EApp { this.promptResult = name; this.promptOpen = false; }, () => { - console.error('Prompt closed'); + console.log('Prompt closed'); this.promptOpen = false; }); } @@ -56,7 +56,7 @@ class E2EApp { this.confirmOpen = false; }, () => { this.confirmOpen = false; - console.error('NOT CONFIRMED'); + console.log('NOT CONFIRMED'); }); } }