ryancp / sailng

Sails.js + Angular = Awesome
MIT License
164 stars 38 forks source link

Mobile chrome hard crash #10

Open thewaterbear opened 10 years ago

thewaterbear commented 10 years ago

Steps to reproduce. -> Open the site on Chrome mobile, iPhone 5, iOS version 7.1. -> Exit chrome, return to the homescreen (chrome goes to background) -> Wait a bit (longer the better) -> Return to chrome, refresh the page -> Crash city

This causes a hard crash of the chrome browser and is currently a showstopper for me. I have no idea what is causing it. If anyone could confirm the above that would make me feel way less crazy.

My project is set up in a similar way to yours, I deleted all the CSS, and all the code in my angular controllers. I just have controller definitions and ng-sails is the only thing being required.

thewaterbear commented 10 years ago

I'm attempting to update the dependencies, looks like it's an ngSails issue. I will post an issue there.

thewaterbear commented 10 years ago

I'm not sure that it is specifically ngSails related. Removing both socket.io and angular-sails from pipeline.js is the only thing that has fixed it.

thewaterbear commented 10 years ago

This is the issue, I'm still on the case to understand what is causing it in this context https://github.com/Automattic/socket.io/issues/976

ryancp commented 10 years ago

@dchen05, did an update to ngSails happen to fix this for you?