Igor Simic
7 years ago

A problem occurred with this webpage so it was reloaded or hybrid app is crashing

If you are experiencing that Safari is reloading the page with message "A problem occurred with this webpage so it was reloaded" or if the same page causing your hybrid app to crash most likely there is an issue with CSS that you are using inside of your page.

screenshot of message

So the first thing is that you should take a look in your CSS and try to comment out pieces of code and try to find which one is the reason for this problem.

If you are experiencing this problem in hybrid app is little bit more difficult to debug because there is no console messages, or in some cases you can see that there is a problem with memory. Hybrid apps in many cases are using web view which is not used by Safari so if you fix the issue for Safari it could be the case that you still have problem inside your hybrid app. So  the only way to replicate this issue is to use browser which is using web view. In my case i was using Dolphin browser
Fixing the CSS issue for  Dolphin browser also fixed my hybrid app.

The problem that i had in CSS was the translate3d property:
-webkit-transform: translate3d(0, 0, 0);
 transform: translate3d(0, 0, 0);
after commenting these lines everything was fine.

I experience this issue on IOS 9.3.2 on iPhone 6+.