question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: ion-menu is not visible after page transition on iOS

See original GitHub issue

Bug Report

Ionic version:

[x] 4.10

Current behavior:

When you open ion-menu and navigate to a page and then go back the menu is no longer visible but if you click anywhere on the screen it then reappears and closes immediately. This only occurs on iOS.

Expected behavior:

The menu should be visible after opening it and navigating to a page and back.

Steps to reproduce:

Create an Ionic app with the iOS platform and add an ion-menu that includes an ion-item that uses routerLink to navigate to another page. Then click an ion-back-button.

Other information:

This only occurs on iOS and I believe this began with with version 4.8 or 4.9.

Ionic info:

Ionic:

   Ionic CLI                     : 5.4.1 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.10.0
   @angular-devkit/build-angular : 0.802.1
   @angular-devkit/schematics    : 8.2.1
   @angular/cli                  : 8.2.1
   @ionic/angular-toolkit        : 2.0.0

Capacitor:

   Capacitor CLI   : 1.2.1
   @capacitor/core : 1.2.1

Cordova:

   Cordova CLI       : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms : not available
   Cordova Plugins   : not available

Utility:

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

System:

   ios-deploy : 2.0.0
   NodeJS     : v10.15.0 (/usr/local/bin/node)
   npm        : 6.11.3
   OS         : macOS Mojave
   Xcode      : Xcode 11.0 Build version 11A420a

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:23 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kleebcommented, Nov 13, 2019

I think I did everything I could - created a repo based on your sample project, added a video, reproduced on simulator, and independently our QA also reproduced that on a device. Have you followed exactly what I did in the sample video?

1reaction
kyleabenscommented, Oct 30, 2019

@liamdebeasi I can only reproduce the issue surrounding ion-menu on an iPhone X. Every other device works fine so I’m not going to waste anymore time on it. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS right side menu issue (bug ?) - ionic-v3
On my Ionic 2 app, I have a left and right side menu. The left one is working perfectly, but I have a...
Read more >
I'm not able to display my page with the help of ion-menu and ...
1 Answer. Save this answer. Show activity on this post. You have to provide <ion-menu> tag with the contentId attribute, which represent the...
Read more >
How to Create an Effective Ionic Menu With and Without a ...
Array of Pages ... Open the file src/app/app.component.ts. This is where you will define the menu. Create an array of pages. Inside the...
Read more >
Ionic Responsive Design and Navigation for All Screens
By default Ionic apps look on the web not like class web apps, and more like ... routerDirection: Affects how new pages appear,...
Read more >
Making a Menu Work in Ionic 4 - Damir's Corner
However, after running the application, there was no sign of the menu button. In the browser console, I noticed the following error:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found