Skip to content

bug: Bottom ion-tabs overlapping on last portion of ion-content on iOS devices #21351

Closed

Description

@TanmaySM

Bug Report

Ionic version:

[x] 5.0.6

Current behavior:

On iOS devices, last content inside ion-content getting overlapped by ion-tabs located at the bottom. Even the user tries to scroll to bottom content still hides behind the bottom tabs. This reproducibility of this behavior is sometimes, especially the user tries to navigate to another page and come back.
Expected behavior:

On iOS devices, the Last content should not be overlapped by ion-tab. If the user scroll to bottom the the all content should be visible.

Steps to reproduce:

  1. Add ion-tabs at the bottom to your project
  2. Add ion-grid with multiple rows that exceed the height of your screen covers and make scrollable content.
  3. Look for the visibility of the last row of the grid.

Related code:

<ion-content no-bounce has-bouncing="false" forceOverscroll="false"  fullscreen="true"   >
<ion-grid>
  <ion-row *ngFor="let option of options">
    <ion-col>
        ...
    </ion-col>
  </ion-row>
</ion-grid>
</ion-content>
<ion-tabs>
  <ion-tab-bar slot="bottom">
    <ion-tab-button>
      <ion-icon [name]="icon"></ion-icon>
      <ion-label>Home</ion-label>
    </ion-tab-button>
    ...
  </ion-tab-bar>
</ion-tabs>

Other information:
I have upload the issue screenshot here.

This is working correctly on android devices however the issue is with iOS devices especially iPhones (iOS 11).
So far I have tried adding no-bounce has-bouncing="false" forceOverscroll="false" attributes to ion-content but still no luck.
Ionic info:

Ionic:

   Ionic CLI                     : 6.3.0 (C:\Users\tanmay.m\AppData\Roaming\npm\node_modules\@ionic\cli)
   Ionic Framework               : @ionic/angular 5.0.6
   @angular-devkit/build-angular : 0.901.3
   @angular-devkit/schematics    : 9.1.3
   @angular/cli                  : 9.1.3
   @ionic/angular-toolkit        : 2.2.0

Capacitor:

   Capacitor CLI   : 2.0.1
   @capacitor/core : 2.0.1

Cordova:

   Cordova CLI       : 9.0.0 ([email protected])
   Cordova Platforms : android 8.1.0, ios 5.1.1
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 6 other plugins)

Utility:

   cordova-res (update available: 0.13.1) : 0.10.0
   native-run (update available: 1.0.0)   : 0.3.0

System:

   NodeJS : v12.16.1 (C:\Program Files\nodejs\node.exe)
   npm    : 6.13.4
   OS     : Windows 10

Activity

  1. added
    ionitron: needs reproduction
    on May 21, 2020
  2. ionitron-bot commented on May 21, 2020

    @ionitron-bot

    Thanks for the issue! This issue has been labeled as needs reproduction. This label is added to issues that need a code reproduction.

    Please provide a reproduction with the minimum amount of code required to reproduce the issue. Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed.

    For a guide on how to create a good reproduction, see our Contributing Guide.

  3. liamdebeasi commented on Jun 5, 2020

    @liamdebeasi
    Contributor

    Thanks for the issue! This issue is being closed due to the lack of a code reproduction. 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.

    Thank you for using Ionic!

  4. locked and limited conversation to collaborators on Jun 5, 2020
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

    ionitron: needs reproduction

    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