Hi:
I use carousel componet in my app,but there has a tiny bug,Cann’t scroll one by one page.The scroll speed depends on what the strength i dragged.
From provious posts,the board moderator advised me to add code like below.
$$('carousel').attachEvent("onTouchStart", function(){
dhx.Touch.config.gravity = 0;
});
$$('carousel').attachEvent("onTouchEnd", function(){
dhx.Touch.config.gravity = 500;
});
This can solve this bug,but the scroll function of the carousel is very insensitive,i must drag long
distance then it can be scrolled the next page.
So who can explain the gravity property for me,or give me some methods to solve this issue which cann’t scroll one by one.