-
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
Side Menu Close Delay iOS and Ionic View #6645
Comments
We're experiencing this as well on Ionic 2 beta 7, using an iPhone 5S (quite fast), on a very basic app. There's also ANOTHER ISSUE: A bug that causes the sidemenu icon and it's inner items to require a double (or sometimes triple) tap in order for the sidemenu to open or the items to open the corresponding view. This doesn't happen when using the swipe gesture, though. Only when tapping the "sidemenu icon". When using the swipe gesture the sidemenu opens/closes normally and sidemenu items react with a single tap, albeit with an aprox. 500ms delay in opening the corresponding views, which is related to the original issue reported. However, why was this issue closed? The problem persists, and just saying "this will get better in the future" doesn't help at all. Having a simple UI component like the side menu being slower than in a previous Ionic version is just going backwards. What's the underlying cause of this issue actually? It doesn't make sense that the sidemenu is slower on this new version and fast on Ionic 1. If you could give more info on the reason of this slowness perhaps we could help fixing it using a PR. Or will this be fixed on the next beta? |
Same here, Any plans to fix that ? Any workaround ? Also, please let me know if I can help somehow. Thanks for amazing work with ionic. |
Hi guys, thanks for amazing work and conference app !!! I'm experiencing the same issue mentioned here. I have to add to it that I just formatted my phone and installed the conference app almost instantly. The swipe to open and close is working well though. If you need any info, please ask me. |
Ionic team, please fix this for the next beta! It's a MAJOR bug that need to be squashed. |
Hello all, does this only happen on Ionic View or does it also happen on a device? Thanks for using Ionic! |
I've only tried it with Ionic View at the moment, which is where I noticed it. @alfredoeflores, @numerized and @lukegaluszka can you please indicate if you've reproduced the issue in an actual installed app? |
As per my observations - It happens ONLY on the device and simulator, |
Hi guys, In my end it happens within an actual app on iphone6 totally formatted device. https://github.com/driftyco/ionic-conference-app is doing it without message in the xcode console. No problem in the browser so far. |
I have found 20-30 mins to play with that today. I tried to create 'close' button inside of the menu and it works perfectly fine. On the 2nd look it seems that the menu-button (the one in header) is 'laggy' intentionally ? I haven't check the ionic code for that, but does it have some sort of 'cover' protecting from taping 'half-hidden' content... ? If that won't get solved until the weekend I will try to find few minutes to debug the actual code and find out why. Thanks for looking into this... |
Thank you Luke. What seems interesting is that this "cover" only causes the On Wed, Jul 27, 2016 at 7:07 AM, Luke Zbikowski [email protected]
|
Hello all! After reviewing this issue i cant seem to reproduce this on my iphone 5 or an ipad. @lukezbikowski is correct that there is a "cover" that prevents users from tapping content that has not finished animating yet, and this seems to be working correctly. I am going to be looking more into this though. Can everyone confirm that they are using the latest ionic 2 release? (beta.10)? Also if anyone gets a chance feel free to give the latest nightly a try by running |
Thanks @jgw96, The 'cover' is of course 'conceptual' - I am talking behaviour here of course. From quick look that could be related to prevent+delay but no strong data here [just guessing]. I will test beta@10 tonight (Sydney time ;-) ) and let you know. If not solved I will post some gif here and debug myself to provide you some more details. Thanks for your help with that and great work on Ionic! |
Thanks, @jgw96. I can confirm we're using the latest Ionic 2 release (Beta 10) and the issue persists. |
Sorry for late update. I confirmed on Beta10 as well (problem persist). Unfortunately I didn't have a chance to look further yet. |
Just tested the app on an actual device (iPhone 5), and the problem is there as well. So I can also confirm it's not just an Ionic View issue. Thanks for looking into this! |
I have tested the new beta11. The problem does not occur anymore. |
Hello! Thanks for testing @lukezbikowski ! I will be closing this issue for now, but if someone else still has the issue feel free to comment and i will happily reopen! |
Hi! I just tested the menu with Beta 11. The problem persists in both Ionic View and installed as an actual app. /: |
For reference, the app I'm testing has id 59cdccad. Tested it in both Ionic View and device (iPhone 5). |
I'm still experiencing this issue as well on beta 11, please REOPEN this issue. |
Hi guys! Do you've any info on this issue? As reported previously, both me and the user alfredoeflores are still experiencing the bug on beta 11. Thanks in advance. |
Hello! We are tracking sidemenu issues with beta.11 in this issue. Thanks for using Ionic! |
Why this issue and issue #6405 have been closed when they clearly have not yet been fixed? (just wondering :/) |
I am on beta 11 and also experiences this issue. |
In my end is still not fixed, the way to fix it for now is to switch my app to
|
Fixed 9bbe485 |
Changing the menu type to overlay solved it for me.
|
Issue is stil ON guys, I've tested it on IOS, @manucorporat split pane ON. |
@ridwan85 workaround has been adopted here meanwhile. |
I found the problem still exists, I am using the latest version of ionic/angular. When I open the menu by clicking the menu icon, it can only be closed by swipe back immediately. But if you want to close it by clicking the menu icon again or click content area to close, you need to wait around few seconds first, otherwise, the close menu event can't be fired. Type="overlay" can solve the close problem, but the animated effect is not good as "reveal" type. May I know is there any solution for solving this? Thanks. |
Got the issue too on a fresh |
@manucorporat still not fixed in 3.1.1. Having same issue as described above. |
it is not fixed in 3.1.0. Having same issue here on ipod touch and iphone 6. no issue on desktop chrome. |
Still present with ionic 3.3.0 ( Cordova 7.0.1, iPhone7) Setting type of ion-menu to "overlay" is working (around the problem). |
Problem still exist. When I start a new app with This is everywhere I use an animation. I have somewhere in my app where I adjust the height of a div and when I trigger that the app is unresponsive for a few seconds. The problem is only when running natively on IOS |
@jgw96 we are still getting this issue too - is there a fix planned? Thanks :) |
Why this is closed if its not fixed? |
Still getting this issue here... |
The issue its still here |
I am also still experiencing this issue. However I noticed today that when the side menu is opened using I confirmed this by removing the Event Listener on the right hand panel in Chrome Dev-Tools and then trying to close the side menu by clicking anywhere outside of the side menu and seeing that it wouldn't close. As such, I am guessing (but have yet to try and confirm) that this issue is related to the |
If this issue is now closed, will our updates be ignored? Should we create a new issue? |
ok, I've made videos of the bug: Video of it broken on iOS app: https://vimeo.com/233666752 If others are still getting this issue please add a comment to a new open issue at: |
I duplicated the issue using the sidenav starter and then I installed the WKWebView plugin and the problem went away. If you are not alread using WKWebView, please give that a try and see if it resolves the issue for you. |
Thanks for your help Ken |
Use (click) in conjunction with tappable directive.
|
I had the same issue with this in Ionic 1. My work around is to place the following code on all the pages that are accessible from the menu. By doing this it closes the menu almost instantaneously. A little annoying that you have to do it for each page, but the alternative wasn't working for me at all. $scope.$on('$ionicView.beforeEnter', function (e) { |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Short description of the problem:
Side menu closes with a delay, or doesn't close if you tap the menu button immediately after you open the menu.
What behavior are you expecting?
When creating an app with the sidemenu template and using Ionic View, the menu is supposed to toggle using the button on the top left corner. The menu opens when you press the button, as expected, but if you immediately tap the button again, the menu won't close. It'll only close if you wait a second before pressing it again. If you do wait and tap the button after a second or two, the menu will close but with a 1000ms approximate delay. This happens while testing the app using Ionic View.
Steps to reproduce:
This happens when I create an app using the sidemenu template:
Other information:
This has been checked in two iPhone 5 devices, both with iOS 9.
I've created an app with ID f3e5ddce, so you can see the issue.
Which Ionic Version?
Using Ionic 2.0.0-beta.25
Run
ionic info
from terminal/cmd prompt:Your system information:
Cordova CLI: 5.1.1
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.7
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
ios-deploy version: Not installed
ios-sim version: 3.1.1
OS: Mac OS X Mavericks
Node Version: v4.4.5
Xcode version: Xcode 6.2 Build version 6C131e
Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:
Install ios-deploy to deploy iOS applications to devices.
npm install -g ios-deploy
(may require sudo)The text was updated successfully, but these errors were encountered: