ios: fix scrolling for ios 14+
This commit is contained in:
parent
d8dabdf727
commit
c7c39d1f2f
3 changed files with 6 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
var iOS13 = (
|
||||
navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1 // iPad
|
||||
|| navigator.userAgent.match(/iPhone OS 13/) // iPhone
|
||||
|| navigator.userAgent.match(/iPhone OS (1[3-9])/) // iPhone
|
||||
),
|
||||
iOS = navigator.platform.match(/iPhone|iPod|iPad/) || iOS13
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue