ios: pulltorefresh: never prevent 1st move on draggable widgets
This commit is contained in:
parent
027e190922
commit
a345114fbd
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ if (!!navigator.platform.match(/iPhone|iPod|iPad/)) {
|
|||
var preventNextMove = false
|
||||
|
||||
document.addEventListener('touchstart', (e)=>{
|
||||
if (e.touches.length === 1) preventNextMove = (window.pageYOffset === 0)
|
||||
if (e.touches.length === 1 && !e.target._drag_widget) preventNextMove = (window.pageYOffset === 0)
|
||||
}, false)
|
||||
|
||||
document.addEventListener('touchmove', (e)=>{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue