ionic-team / ionic-team/ionic-framework

bug: quickly replacing back to previous view causes both views to get unmounted

Đang mở
#23,162 6 bình luận 1 reaction 0 người được giao Xem trên GitHub
type: feature request
Ngôn ngữ chính
TypeScript
Star
52.7k
Fork
13.3k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
51

Mô tả

# Bug Report

**Ionic version:**
```
"@ionic/vue": "5.6.1",
"@ionic/vue-router": "5.6.1",
"vue": "3.0.5",
"vue-router": "4.0.3",
```

**Current behavior:**
Application on a resume just shows a blank screen sometimes. Nothing is visible but if you slide the menu drawer is open. Very hard to reproduce but it does exist. It is exactly what we were getting when before this issue was resolved. Looks like Ionic is not clearing the hidden class of vue during the transition.

I can confirm this is the same issue given below. After updating ionic version this issue was resolved but it is back again. Maybe less in frequency but still exist.
https://github.com/ionic-team/ionic-framework/issues/22654

We use IonicApp Flow for application update and some of the users complains that when new version is received then the application goes blank when they resume application. The menu is still working if you drag and if you change route by selecting a menu item then again it starts working.

Looks like it can be related to application resume because we do transition depending on some logic when app resume but could also be related to when Ionic App flow pushes new update then application transition leaves application in hidden state.

Any suggestions on this?

**Expected behavior:**
It should not hide application content

**Steps to reproduce:**

It is an intermittent issue very hard to reproduce.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.