kopia lustrzana https://github.com/cheeaun/phanpy
Try fix swipe bug on Chrome Android
rodzic
5bbff378d3
commit
fcf11f7d34
|
@ -56,7 +56,7 @@ function Media({ media, to, showOriginal, autoAnimate, onClick = () => {} }) {
|
|||
}
|
||||
|
||||
media.closest('.media-zoom').style.touchAction =
|
||||
scale <= 1 ? 'pan-x' : '';
|
||||
scale <= 1.01 ? 'pan-x' : '';
|
||||
}
|
||||
}, []);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue