View Full Version : Mouse sticks on image/screen while sliding/dragging

29 Apr 2011, 2:04 AM
The problem I have also exist on all the examples. (like http://touchstyle.mobi/app/).

What is the problem? When you click and hold the mouse-button (or finger on touch screen that simulates a mouse) on an image and try to slide and release the mouse-button, the slide (whole screen) sticks on the mouse. While if you click on a space next to the image and try to slide the page, then the slide works as aspected. What is here the problem? And does anyone knows how to resolve this issue? The version I use is Sencha Touch 1.1.0 but the problem was always there, also for older versions. I use always latest version of Google Chrome.

29 Apr 2011, 8:19 PM
I think its more like Desktop browser property and this will not be a problem in touch devices .

Have a look into this post


12 Aug 2011, 1:32 PM
This is the default behaviour of many (all?) browsers
You have to listen to mousedown event on the img element and preventDefault

you can use this on <img> element :