Skip to content

Commit

Permalink
fix(fab): using <a> as fab
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Nov 18, 2016
1 parent cfd9a90 commit 0e773fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/fab/fab.ts
Expand Up @@ -301,7 +301,7 @@ export class FabContainer {
*/
canActivateList(ev: any): boolean {
if (this._fabLists.length > 0 && this._mainButton && ev.target) {
let ele = ev.target.closest('ion-fab>button');
let ele = ev.target.closest('ion-fab>[ion-fab]');
return (ele && ele === this._mainButton.getNativeElement());
}
return false;
Expand Down

0 comments on commit 0e773fa

Please sign in to comment.