ionic-team / ionic-team/ionic-framework

bug: Swipe back and instant tab change make ion tab display: none

Offen
#31,292 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
triage
Vorherrschende Sprache
TypeScript
Sterne
52.7k
Forks
13.3k
Ø Merge
1 T. 15 Std.
Gemergte PRs (30 T.)
51

Beschreibung

### Prerequisites

- [x] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#creating-an-issue).
- [x] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [x] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.

### Ionic Framework Version

v8.x

### Current Behavior

Hi, this is very difficult to explain, so i will leave it in video:

Tried it on multiple ionic apps, and the error occurred on multiple ionic versions, even on 8.8.13 @ionic/angular version

basically, when you route to another page within tab, then you swipe back and instantly you click on another tab then you get blank page, when you click back to the previous ion-tab, its blank, if you click to another, its ok then, but the initial tab is always blank until you click on tab button again, when it resets. you can see this behavior in the video.

It seems that navBack animation takes some time (approx 500ms, if you within that 500ms click on another ion-tab this big occcures)

video is on google disk: https://drive.google.com/file/d/1O3f6jJ6tY2kkJi7yG2hXIqp8-PbrU5ip/view?usp=sharing

Seems for me like problem occurs only with swipe back gesture, when clicking on ion-back-button it seems it waits until transition ends and then ion tab can be activated, but within swipe back its possible to activate another ion tab before transition ends

### Expected Behavior

Activating another ion tab should be possible only after transition ends

### Steps to Reproduce

See a video, any ion-tab project with navigation

### Code Reproduction URL

https://github.com/rostislavcz/ion-tabs-bug

### Ionic Info

cd bug, ionic serve

### Additional Information

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with the linked reproduction repository and run `ionic serve` as described in the issue. Reproduce the swipe-back followed by an immediate tab change, then inspect the Ionic tab and navigation transition entry points involved in the blank view. Done means the tab remains visible and usable when switching during or after the swipe-back transition.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular, typescript
Bereich
frontend, mobile
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.