Skip to content

bug: stacked label causes glitchy page transitions on ios #20407

@mirkonasato

Description

@mirkonasato

Bug Report

Ionic version:
[x] 5.x

Current behavior:
Have an app with list and detail pages. Detail has an <IonLabel position="stacked />. After navigating to the detail page, the view appears to "zoom out" a little bit. After navigating back to the list page, the view zooms in again.

It's small but clearly noticeable. Please see this video.

This only happens with position="stacked".

Expected behavior:
Should work smoothly, like with position="fixed" or "floating".

Steps to reproduce:

Clone this repo: ionic-stacked-sample

Run npm install, build, deploy to the iOS simulator. Click on a list item and back.

Related code:

Other information:

Ionic info:

Ionic:

   Ionic CLI       : 6.0.1 (/Users/mirko/.nvm/versions/node/v12.15.0/lib/node_modules/@ionic/cli)
   Ionic Framework : @ionic/react 5.0.0-rc.3

Capacitor:

   Capacitor CLI   : 1.5.0
   @capacitor/core : 1.5.0

Utility:

   cordova-res : not installed
   native-run  : not installed

System:

   NodeJS : v12.15.0 (/Users/mirko/.nvm/versions/node/v12.15.0/bin/node)
   npm    : 6.13.7
   OS     : macOS Catalina

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions