-
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
bug: Opening Modal randomly causes App to freez #1912
Comments
i have same issue |
I'm having the same issue. It was happening with beta 9 as well. |
Do you mind testing this against the nightly builds and providing a codepen for this? |
not freeze. i guess all event prevent. when freezing page i got it ionicPopup Push Notification message. message button is work fine |
Alright. Can you still provide a codepen example of this? |
I can't provide a codepen at the moment, but this is very hard to reproduce. It happens very randomly, with no error messages. I have a collection repeat with each item opening in a modal. One thing to note is that I was doing an $http request to fetch some further details from the server after a list item is clicked. Once I stopped doing that, I haven't seen the modal freezing again. So this might be related to: |
I've seen this issue a number of times myself. Very hard to reproduce, but one very non-scientific observation is that I've only seen it when testing via |
Hmm, could it be related to ionic serve? On Wednesday, August 6, 2014, Mark Buster [email protected] wrote:
|
I've seen this on both iOS emulator and the iPhone 4s. |
Hmm, okay @perrygovier will look into this a bit more |
I just saw the issue again when running on the device. By chance, I discovered that if I remove the |
Same issue. After some tests, I found that: ionic serve, python -m SimpleHTTPServer get same result. |
I believe this issue is related to that posted here: And here: |
I'm having the same issue in 1.0.0-beta.11 as well |
I believe it's a race condition, similar to 25ee658 |
On mobile devices (mainly tested on iPhone 5 / iOS 7) modals are working if we go back to beta.9. beta.10 and beta.11 randomly work on desktop browser or emulator but on mobile devices the modals cause our app to freeze in all cases. No significant findings, I know, but perhaps you can identify some faulty changes ... ;) |
I also had the same issue when I updated my Ionic to beta.11 (previously I was using beta.6 and it wasn't happening). However, I found that this solution worked for me: http://forum.ionicframework.com/t/modal-not-receiving-touch-events/8025/4 So it seems that this issue is related to ionic loading and the loading-active class on the body element. |
Yes! Solved problem in our case because we planned to kick the ionic loading anyway. Thanks a lot! |
I have seen this issue as well. After launching a modal, our users are unable to click any of the buttons on the modal. The app doesn't freeze, but the buttons don't respond. It is extremely hard to reproduce. I've seen this with two separate modals, both in the browser and on actual hardware devices iPhones and Androids. My app is currently running beta10. It looks like I should try upgrading to beta11 and using the workaround from http://forum.ionicframework.com/t/modal-not-receiving-touch-events/8025/2 - will give that a try. |
I think I know how to fix this, but I'm having trouble recreating the problem to test against. Can someone create a codepen or something that reproduces this? Is it just a specific device? |
I'm going to call this closed. Let me know if it pops up again. |
Seems like this is still happening in "driftyco/ionic-bower#v1.0.0-beta.14". Don't know how to reproduce but have receive reports about it. |
I've no idea why, but it appears some collection repeat related methods are stuck in a loop. Does the issue still exist when you switch your |
I can now confirm that it is a problem with collection-repeat. I implemented collection-repeat in the "home" view in my app yesterday. When I go back to a commit before I implemented it, I don't have the "freeze when I try to open the modal" issue. I used ng-repeat before, when I didn't have this issue. My scenario is something like this: Edit: Oh, and my "home" view with collection-repeat has ~800 list items. |
@pencilcheck are the instances you're seeing using |
I'm also experiencing the same freeze issue when interacting with (close, open) a popover. Given that I use collection-repeat in that other view I navigated from. |
@perrygovier actually it's not |
I'm running into this after updating to |
@stellasoft-will this issue was fixed (for me) in the v1.0.0-beta.14-nightly-1011 or newer. |
@felquis thanks very much will try that tonight to see if that solves the issue. |
I have added the nightly version of v1.0.0-beta.14-nightly-1025 and i am still having issues with collection repeat, not as bad but still unusable. I have tried with just ng-repeat and although for obvious reasons the page load is slow as i am loading 2000+ items the modal is popping up, slowly but still works. any idea for what could help. Also that nightly build 1025 collection-repeat is broke when scrolling. |
This is fixed now. |
Still happening lots in 1.7.12 HUGE problem. Might be related to sending app to background, then resuming, then opening modal. |
I still have this problem, when i dismiss a modal the screen freeze and i need to close app, only happen in device and randomly too. |
@rodrigoords did you find a fix for the issue? I'm having the same, screen freezing on modal dismiss on ionic 3 |
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. |
Type: bug
Platform: ios 7 webview
It's hard to reproduce the bug since it happens randomly. But it seems to come with ionic beta10.
The text was updated successfully, but these errors were encountered: