iOS 7 Safari: OS locks up for 4 seconds when clicking/focusing on a HTML input

前端 未结 13 543
不思量自难忘°
不思量自难忘° 2020-12-07 19:36

UPDATE: The issue seems to stem from having many select elements on a page. How random is that?

So here\'s the issue. On iOS 7 Safari, when tapping

相关标签:
13条回答
  • 2020-12-07 20:11

    iOS 12.1.1 - December 2018

    Here is a simple fix that worked in my case:

    window.scrollTo(0,0) // attached to 'blur' event for the input fields

    While it may not be ideal in terms of UX (especially if you have a form with many fields), it's definitely better than having 10+ second freezing time.

    0 讨论(0)
提交回复
热议问题