Skip to content

Ionic 4 RC - Huge fab button when routerLink directive is used #16833

@Axdron

Description

@Axdron

Bug Report

Ionic version:

[x] 4.x

Current behavior:
When using the routerLink directive in a fab-button, it became huge in the screen. Without the directive, it's ok.

Expected behavior:
I expect the button having the same size with or without the routerLink directive.

Steps to reproduce:

Related code:
The huge button code:
<ion-fab-button [routerLink]="'/categorias'" color="success">

The normal button code:
<ion-fab-button (click)='true' color="success">

insert short code snippets here

Other information:
Huge:
huge

Normal:
normal

Ionic info:
Ionic:

ionic (Ionic CLI) : 4.5.0 (C:\Users\APPELSOFT\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.0.0-rc.0
@angular-devkit/build-angular : 0.7.5
@angular-devkit/schematics : 7.1.4
@angular/cli : 6.1.5
@ionic/angular-toolkit : 1.2.0

Cordova:

cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.4
Cordova Plugins : not available

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions