Skip to content

ion-fab in tab bar 'edge' position incorrect #17130

Closed

Description

@Frotty

Bug Report

Ionic version:
[x] 4-beta1.9 (also tried with rc1)

Current behavior:
The fab button sits between the footer and the bottom of the screen

Expected behavior:
The fab button should sit between footer and content, like it used to

Steps to reproduce:
Use 'edge' on a fab button inside a tab bar

Related code:

<ion-tabs class="tab-fullwidth">
  <ion-fab vertical="bottom" horizontal="end" slot="fixed" edge>
    <ion-fab-button>
      <ion-icon name="add">
      </ion-icon>
    </ion-fab-button>
    <ion-fab-list side="top">
    </ion-fab-list>
  </ion-fab>
    
  <ion-tab-bar slot="bottom">
    <ion-tab-button tab="home">
      <ion-icon name="home"></ion-icon>
      <ion-label>Home</ion-label>
    </ion-tab-button>

    <ion-tab-button tab="myEvents">
      <ion-icon name="calendar"></ion-icon>
      <ion-label>Meetings</ion-label>
    </ion-tab-button>

    <ion-tab-button tab="myMoots">
      <ion-icon name="logo-buffer"></ion-icon>
      <ion-label>moots</ion-label>
    </ion-tab-button>

    <ion-tab-button tab="">
    </ion-tab-button>

  </ion-tab-bar>
</ion-tabs>

Other information:
This used to work fine back with beta 13 or so, having the FAB between content and footer. Only due to a recent update the position is now wrong.

If I put it into the home page, the position seems correct, but it's rendering behind the tab bar:

Ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.8.0 (/Users/run-e/.npm-global/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0-beta.19
   @angular-devkit/build-angular : 0.12.1
   @angular-devkit/schematics    : 7.2.1
   @angular/cli                  : 7.2.1
   @ionic/angular-toolkit        : not installed

Capacitor:

   capacitor (Capacitor CLI) : 1.0.0-beta.13
   @capacitor/core           : 1.0.0-beta.13

Cordova:

   cordova (Cordova CLI) : 8.1.2 ([email protected])
   Cordova Platforms     : ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 5 other plugins)

System:

   Android SDK Tools : 26.1.1 (/usr/local/share/android-sdk)
   ios-deploy        : 1.9.2
   NodeJS            : v8.11.2 (/usr/local/bin/node)
   npm               : 6.4.1
   OS                : macOS Mojave
   Xcode             : Xcode 10.1 Build version 10B61

Activity

  1. abennouna commented on Jan 16, 2019

    @abennouna
    Contributor

    Duplicate of #16780 — fixed by #17048

  2. ionitron-bot commented on Feb 15, 2019

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  3. locked and limited conversation to collaborators on Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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