ionic-team / ionic-team/ionic-framework

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

Open
#23,162 6 comments 1 reaction 0 assignees View on GitHub
type: feature request
Dominant language
TypeScript
Stars
52.7k
Forks
13.3k
Avg merge
1d 15h
Merged PRs (30d)
51

Description

# 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.