|
@@ -35,8 +35,8 @@ export default ({images = [], imgWidth=377, className, onChange, onClick, ref, s
|
|
const onTouchEnd = () => {
|
|
const onTouchEnd = () => {
|
|
if (!containerRef.current)
|
|
if (!containerRef.current)
|
|
setTimeout(onTouchEnd, 20)
|
|
setTimeout(onTouchEnd, 20)
|
|
- console.log('TOUCH END', inTouch.current, autoscroll.current, afterAutoscroll.current,
|
|
|
|
- containerRef.current.scrollLeft, containerRef.current.scrollWidth)
|
|
|
|
|
|
+ // console.log('TOUCH END', inTouch.current, autoscroll.current, afterAutoscroll.current,
|
|
|
|
+ // containerRef.current.scrollLeft, containerRef.current.scrollWidth)
|
|
if (inTouch.current){
|
|
if (inTouch.current){
|
|
if (timeout.current) clearInterval(timeout.current)
|
|
if (timeout.current) clearInterval(timeout.current)
|
|
|
|
|