-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RC2] <ion-menu type="overlay"> frequently closes by itself #9042
Comments
Hi guys, An update. This only happens with an |
I can confirm that this happens every time in iOS no matter which |
@panduit-psh Interesting, I wish I could know why a different |
same issue here, thanks for reporting it so I didn't have to 👍 |
This is still occurring in rc3. |
@panduit-psh I might need to downgrade to RC1 since we are about to launch our iOS app. Is there a guide on how to do this? |
Hello all, thanks for opening an issue with us! Would you mind creating a plunker I can use to reproduce this issue using this template? Thanks! |
@jgw96 Here you go. Let me know if I posted it incorrectly. On iOS, the menu opens and then closes right away. Thanks for checking it out. |
@panduit-psh Thanks for submitting the plunkr. Not sure about @panduit-psh or @jourdan-jobox but for me, the issue does not occur while testing in the browser. It only occurs when testing on a live device whether I build the app on the phone or use Ionic View/Test Flight. Can you two confirm that is the case for you as well? |
@tinnocente This only happens in iOS for me. |
Can you guys try against nightly?
|
@manucorporat I can confirm that the issue is fixed for me in 2.0.0-rc.3-201611282011. Thanks for the help. |
@manucorporat Having the same issue here. Using the nightly 2.0.0-rc.3-201611282011 resolved this for me as well. |
@lincolnthree @panduit-psh glad to hear that! closing this issue... Please feel free to reopen if you think this is still not fixed in nightly |
type="push" is buggy but type="overlay" works very nicely. Thanks I can launch now :) |
@tinnocente can you describe how the type=push is buggy? |
Out of curiosity. What was the issue / fix? |
And thank you :) |
@manucorporat When I first upgraded to nightly I had it set to type="push". After building it onto my test iPhone the menu was no longer auto-closing however after the menu opened it was like there was a timeout where I could not close the menu for several seconds by tapping outside the menu. If I waited a couple of seconds then I could tap outside the menu to close it. If I tapped my "Close" button the menu would close as expected. I have not experienced any bad behavior from "Overlay" so at least I can launch the iOS app now 👍 Hope that helps! |
Actually yes. I am seeing the same behavior. It takes several seconds before the menu will close via clicking outside. Menu toggle buttons work fine. |
Short description of the problem:
I have an
<ion-menu>
inapp.html
that, when opened, frequently closes by itself almost instantly (note: it doesn't happen all the time, but at the very least about ~50% of the time). This was previously working as expected before the RC2 update.What behavior are you expecting?
I'm expecting my side menu to close only when I tap on one of the links in the side menu, or when clicking on the background overlay.
Steps to reproduce:
<ion-menu>
overlay in an app.html fileThis is my
app.html
:This is my
dashboard.html
page that contains the menu icon that opens the Menu:Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
This seems to have happened with one of the code changes after RC1 was released, because this was working when I was on RC1.
Let me know if there's anything else I can share that may help with this issue! It might sound weird but I didn't make any coding changes for this to happen...
Which Ionic Version?
2.0.0-rc.2
Run
ionic info
from terminal/cmd prompt:Cordova CLI: 6.1.1
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v6.3.1
Xcode version: Xcode 7.3.1 Build version 7D1014
The text was updated successfully, but these errors were encountered: