ionic-team / ionic-team/ionic-framework

bug: iOS back transitions between <ion-tabs> pages not animating

Ouverte
#18,181 26 commentaires 7 réactions 0 personnes assignées Voir sur GitHub
package: core type: bug
Langage dominant
TypeScript
Étoiles
52.7k
Forks
13.3k
Merge moyen
1 j 15 h
PR mergées (30 j)
51

Description

# Bug Report

**Ionic version:**

[x] **4.3.1**

**Current behavior:**

Demo app confirgured with { mode: 'ios' } and has 2 <ion-tabs> pages. Navigating forward from Tabs A to Tabs B pages animates as expected. Navigating back from Tabs B to Tabs A does not animate. Removing the { mode: 'ios' } config line shows Android style animations working correctly forwards and back.

**Expected behavior:**

Navigating back from Tabs B to Tabs A page should animate.

**Steps to reproduce:**

- Create a new app
- Change app.module to run in iOS mode
- Create 2 pages, and navigate forward and back between each one

**Related code:**

Basic demo is available at: https://github.com/benmarsh/ionic-multi-tabs-test

**Other information:**
![](https://raw.githubusercontent.com/benmarsh/ionic-multi-tabs-test/master/ionic-tabs-bug.gif)

**Ionic info:**

```
Ionic:

ionic (Ionic CLI) : 4.12.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.3.1
@angular-devkit/build-angular : 0.13.8
@angular-devkit/schematics : 7.3.8
@angular/cli : 7.3.8
@ionic/angular-toolkit : 1.5.1

System:

NodeJS : v11.12.0 (/usr/local/Cellar/node/11.12.0/bin/node)
npm : 6.7.0
OS : macOS Mojave

```

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start by reproducing the issue with the linked basic demo app, using app.module to enable iOS mode and two ion-tabs pages. Compare forward and back navigation, then trace the ion-tabs transition entry points. Done means navigating back from Tabs B to Tabs A animates in iOS mode without breaking the existing forward animation.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
angular, ios, typescript
Domaine
frontend, mobile
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
38/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.