jQTouch
jQTouch copied to clipboard
black screen was appeared when swipe too fast in demos/customanimation2
Hi, I found that the black screen is appeared, when I swipe the page too fast. Is there any solution for this? Thanks
this is happening to me too, more specifically when you swipe twice in the same direction before the animation occurs. This is easily reproduced.
$('#tdWidth1').swipe(function(e, info){ if (info.direction === 'left') { jQT.goTo($('#tdWidth2'), 'slideup'); } });
that is what my code looks like. I am using revision 109.
Hi, I've some problems to use this functions.
JS :
Functions:
$(function(){ // This prevents scrolling $('#jqt').bind('touchmove',function(){ event.preventDefault(); }); $('#page1').swipe(function(e, info){ if (info.direction === 'left') { jQT.goTo($('#page2'), 'swipe'); } });
$('#page2').swipe(function(e, info){
if (info.direction === 'right') {
jQT.goBack('#page1', 'swipe');
}
})
});
But nothing when I try to use swipe, nothing happen..
have you got some suggestion?
I have this problem as well, seems to happen if you swipe while the animation is still transitioning. I either end up with a blank page, or occasionally it lands off center and suddenly scaling/movement is turned back on (ie i can drag the site away from the edge of the screen, which I had disabled with this: [CODE] $('body').bind('touchmove',function(){ event.preventDefault(); }); [/CODE]
Though primarily is the rapid swiping problem. I desperately need this fixed, and haven't been able to figure out how yet. I imagine it would involve disabling swipe during the animation transition, then re-enabling it once the animation finishes. I think. Can anyone please help?
Thanks!
I am having the same issue. Has anyone been able to solve this?
I'm having this same issue with clicking/tapping too fast.....goes to black screen. Ugh.
If anyone's interested, this solution did it for me: http://stackoverflow.com/questions/5380994/how-to-stop-the-swipe-event-in-jqtouch-whilst-a-slide-transition-is-occuring