ios: fix scrolling for ios 14+
This commit is contained in:
parent
f306b220b0
commit
8eb08d8dac
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