mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 08:48:47 +01:00
Try fix swipe bug on Chrome Android
This commit is contained in:
parent
5bbff378d3
commit
fcf11f7d34
1 changed files with 1 additions and 1 deletions
|
@ -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' : '';
|
||||
}
|
||||
}, []);
|
||||
|
||||
|
|
Loading…
Reference in a new issue