iOS safari crashing (a problem repeatedly occured)

前端 未结 5 1900
春和景丽
春和景丽 2021-02-14 21:47

I\'m developing a website and have recently run into a problem when testing on my iPhone X - the site wont load.

Safari tries to load it, then reports the error \'this

5条回答
  •  遥遥无期
    2021-02-14 22:11

    I faced a similar issue:

    on my website (only on a specific page) iOS safari shows error message "a problem repeatedly occurred on my-page-url" without any errors in the console. On all desktop browsers this page works fine, on all Android mobile phones also, but on iOS Safari page shows error...

    After many hours of investigation, I have found that the problem was with the CSS property

    height: intrinsic;
    

    it was really strange, because this property works fine only on desktop Safari, on other browsers it was just ignored. But mobile Safari dies...

    So I changed this CSS property and everything was fixed :)

    Hope this will help someone to save few hours of debugging :)

提交回复
热议问题