From d619d8d17b2dc5887da55d8c62e738e3d87f3c4d Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Wed, 26 Sep 2018 14:35:54 +0200 Subject: [PATCH] fix(fab): do not reset fab activated if it's false --- core/src/components/fab/fab.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/components/fab/fab.tsx b/core/src/components/fab/fab.tsx index 0d4ec10508..a7d986e23c 100644 --- a/core/src/components/fab/fab.tsx +++ b/core/src/components/fab/fab.tsx @@ -42,7 +42,9 @@ export class Fab implements ComponentInterface { } componentDidLoad() { - this.activatedChanged(); + if (this.activated) { + this.activatedChanged(); + } } @Listen('click')