Skip to content

Commit

Permalink
fix(fab): do not reset fab activated if it's false
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Sep 26, 2018
1 parent 7f38d37 commit d619d8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/components/fab/fab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export class Fab implements ComponentInterface {
}

componentDidLoad() {
this.activatedChanged();
if (this.activated) {
this.activatedChanged();
}
}

@Listen('click')
Expand Down

0 comments on commit d619d8d

Please sign in to comment.