ios: still trying to kill overscroll
This commit is contained in:
parent
2c7a9c405d
commit
73d4a48438
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ if (navigator.platform.match(/iPhone|iPod|iPad/)) {
|
|||
|
||||
document.addEventListener('touchstart', (e)=>{
|
||||
e.preventDefault()
|
||||
if (e.touches.length === 1 && !e.target._drag_widget) preventNextMove = (window.pageYOffset === 0)
|
||||
if (e.touches.length === 1 && !e.target._drag_widget) preventNextMove = true
|
||||
}, false)
|
||||
|
||||
document.addEventListener('touchmove', (e)=>{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue