Approved
Last Updated: 13 Jul 2016 11:48 by Brian
Matt
Created on: 13 Aug 2015 16:36
Category: ImageGallery
Type: Feature Request
4
Fix and allow disabling of gestures on RadImageGallery
The new gesture controls in Mobile RadImageGallery seemed like a great thing until I tried them. Improvements needed...

1. The left/right swiping isn't smooth at all, I expect it to swipe in real time. As I swipe my thumb I want to see the images actually sliding with the swipe.

2. I'd like to be able to disable JUSt the up/down gesture AND also be able to disable ALL gestures completely. The problem is that a tall image gallery on a short phone (iphone 4, etc) makes it very difficult to scroll the mobile web page down. Since the image will take up most of the screen real estate, you have no place to put your thumb to initial a page scroll. If I could disable up/down gesture it could let me still scroll the page when I start on the image. If that isn't possible, give me a way to disable all gesture controls to let it work like the old image gallery. I'm shocked this isn't possible, it's as if nobody tested page scrolling to see what a major issue this is. Screen shot attached showing issue on iPhone 4...and this is AFTER we made our image gallery shorter. Very littler non image gallery real estate to initiate a scroll from now.
Attached Files:
4 comments
Brian
Posted on: 13 Jul 2016 11:48
There's still a small "dead zone" when you attempt to scroll up or down with your finger over an image but the rest of the gestures are disabled.

Thanks for the code snippet Matt.
Matt
Posted on: 07 Jul 2016 19:02
I did get a temp solution that's working from support on this, pasting what they wrote below...

In order to completely disable the mobile gestures you can include the following script on the page(place it below the RadScriptManager).

JavaScript:
Telerik.Web.UI.RadImageGallery.prototype._initializeMobileGestures = function(){
          }

As for the use of both touch gestures and the browser default behavior currently there is no solution that can handle all cases. However you can partially resolve the matter by including the following code (see attached js.txt for second code block).
Attached Files:
Brian
Posted on: 07 Jul 2016 17:54
I have the same issue. I can't seem to find how to disable gestures. This is nuts!
James Shelton-Agar
Posted on: 01 Feb 2016 23:01
I agree, strange to let a single control override how a standard page is expected to work.
 (i.e. user cant scroll vertically on the image to get down the page because the control is using gesture for hide display thumbnails!)
Can we turn of gesture controls on mobile?