Close

Slow scroll while touching the slider on mobile.

hkreklame
8 years ago
#12630 Quote
Avatar
  • 34
Hi.

I am experiencing slow scrolling if you touch the slider on mobile.

Are there any touch event behavior as default?
hkreklame
8 years ago
#12631 Quote
Avatar
  • 34
I found the following in swipeEvents.min.js:


var a = c.originalEvent.touches; a && a.length && (c = g - a[0].pageX, a = h - a[0].pageY, 50 <= c && (d = !1, e.trigger("swipeLeft")), -50 >= c && (d = !1, e.trigger("swipeRight")), 50 <= a && (d = !1, b("body").animate({ scrollTop: b(document).scrollTop() + 4.5 * a }, 500), e.trigger("swipeUp")), -50 >= a && (d = !1, b("body").animate({ scrollTop: b(document).scrollTop() + 4.5 * a }, 500), e.trigger("swipeDown")), 50 <= Math.abs(c) || 50 <= Math.abs(a)) && (d = !1, e.unbind("touchmove", f))


hkreklame
8 years ago
#12632 Quote
Avatar
  • 34
Is there any way i could have the unminified version?

I dont want any trigger on swipeUp and swipeDown
Boyko
8 years ago
#12633 Quote
Avatar
  • 1570
hkreklame wrote:
Is there any way i could have the unminified version?

I dont want any trigger on swipeUp and swipeDown


Hi hkreklame,

Please submit a ticket and we will send you the unminified version.
Regards,
Nop-Templates.com Team