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.

Side Menu issue after upgrading to Beta 11 (Ionic2)

See original GitHub issue

Hello guys,

Earlier I created a simple project in ionic2 beta-10 version. In beta-10 side menu working properly.

But today I upgraded my project to beta 11 the same code for Side Menu not working. The Navigation drawer from the left side is not working. My most of the navigation is depend upon side-menu in current project.

When I click on navigation drawer button (i.e. three horizontal lines icon) at the upper-left side of the navigation bar, nothing happens. Also if I drag from left to right on the screen, side menu is not opening.

The side menu is not opening on iPad and ionic serve (i.e. browser) too…

If anyone having such problem after upgrading to beta-11.

Anyone know the solution for this??

Related issue created as topic on ionic forum, below is link for reference https://forum.ionicframework.com/t/side-menu-issue-after-upgrading-to-beta-11/59865

Thanks in advance.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:52 (23 by maintainers)

github_iconTop GitHub Comments

4reactions
jgw96commented, Aug 17, 2016

@lufias Ahh i think i may know what the issue is now. Are you using this.navcontroller.setRoot() from your popover? The actual correct way to set the root from an overlay component is this.app.getRootNav().setRoot(). @abartolo That is actually not a workaround but is the correct way to use setRoot from an overlay component like popover now. With beta.11 we changed it to where each overlay component has its own nav stack, which means that to get the NavController of your “root” instead of the NavController of the overlay component you must do this.app.getRootNav(). Hope all this makes sense.

2reactions
Barryrowecommented, Aug 11, 2016

I just confirmed the menu is broken in the conference app as well. If I am in platformiconic=ios, in chrome. I get the same behavior. When I slide out the menu it slides out fine, but then if I click anywhere, it’s a delayed abrupt snap back to closed, and any clicks on the page will cause the menu to open back up. Until I have dragged the menu back to closed from an open position, I cannot click on anything in the main content page.

If I use the menu toggle button during this time, it appears the menu slides too far to the right underneath the content as well…but if I click a couple more times it will toggle “closed” and back open.

I made no modifications to the conference app, I just cloned it, npm installed, and ran

ionic serve --browser chrome

Read more comments on GitHub >

github_iconTop Results From Across the Web

Side Menu issue after upgrading to Beta 11 (Ionic2) #7600
The Navigation drawer from the left side is not working. My most of the navigation is depend upon side-menu in current project. When...
Read more >
Side menu declared in a different file. Broken in beta11 - ionic-v3 ...
I'm having a problem with the upgrade to beta11 and sidemenu. I'm declaring the menu template ... Issue: Side Menu issue after upgrading...
Read more >
Side Menu and the page does not responds after setting root ...
The problem occurs when you are pushing from a "modal" or "popover" and so it happens the navigation problem. To do this the...
Read more >
Announcing Ionic 5! - Ionic Blog
The largest change in this release is a massive design upgrade across ... In prior versions of iOS, the side menu used a...
Read more >
[Updated] Ionic 2 - Side Menu and Tabs - KhoPhi's Blog
It is about setting up Side Menu and Tabs within your Ionic 2 project. It's that simple! Enjoy this Ionic Side menu and...
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