A couple of minutes help with touch device testing please.

Permalink
I have been experimenting with some code to add left/right swipe gestures to a list and need some feedback from as many different touch device browsers as possible.

If you have a touch device of any description (phone, tablet ... ), please have a quick visit to the link below and let me know if swiping left/right over the list of addons moves up/down through the list's pages, then post back here with: device, browser, result.

http://www.c5magic.co.uk/add-ons/...

The page is on a modified Greek Yogurt theme, so don't expect it to be responsive. The test is purely about swipe left/right.

The swipe gestures should also work for mouse dragging on non-touch devices, so if you want to test and report back with desktop browsers, please do so.

Thanks in advance

John

JohntheFish
 
shahroq replied on at Permalink Reply
shahroq
It works nicely on iPad (iOS 5). It swipes left/right smoothly.
But i just noticed on swipe area i cant scroll up/down. I should touch on the right/left (out of block area) to scroll down.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Works fine on my ipad2 John,
swiping left or right moves one page at a time..
enlil replied on at Permalink Reply
enlil
Works with chrome on android (phone)
enlil replied on at Permalink Reply
enlil
Android browser as well
enlil replied on at Permalink Reply
enlil
mouse swipe working on modern firefox, chrome, ie, and opera
JohntheFish replied on at Permalink Reply
JohntheFish
Thank you all for the feedback. I will see if I can find a way for scrolling gestures ( and multi-touch gestures ) to work through the swipe area.

I will post again when I have an update for further testing. In the mean time, anyone else who has a touch device or os version not yet mentioned, you are welcome to have a go and post here.
JohntheFish replied on at Permalink Reply
JohntheFish
I now have a new version uploaded in which I have attempted to allow gestures other than swipes within the swipe area to work. In my testing I have limited success. I can now vertical scroll on the right margin and it does not pick up false swipes from multi-touch pinches and rotates. However, on my android phone it doesn't let pinches alter zoom within the swipe region.

I would be interested in any further observations for any touch devices, included those already tested above. I may ultimately decide to handle the lack of more complex interactions with a note in the documentation.

The test is again at:
http://www.c5magic.co.uk/add-ons/...
enlil replied on at Permalink Reply
enlil
i can pinch zoom anywhere. doubletap zoom only on the right two columns of each page. Getting really buggy switching from landscape to portrait, not wanting to scroll after switch. Android, chrome.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Buggy on my Ipad2,
when the page first loads it will swipe left and right, but if i scroll up or down and then try to swipe it continues to scroll?
Refreshing the browser shows two ajax spinners?
and then the sequence will work for swipe until I scroll again,
Sometimes after refreshing the browser the swipe is reluctant to work at all..
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Just discovered that when the swipe does not work (after scrolling) a quick double swipe gets it working again?
JohntheFish replied on at Permalink Reply
JohntheFish
Thanks for testing again. Looks like my attempts to let some event default behaviours seep through have been a step backwards. I will try another version that restricts default events and just has the filtering on multi-touch events.

PS. The double ajax spinners are normal behaviour for that page if its taking its time to load.
JohntheFish replied on at Permalink Reply
JohntheFish
The next version is ready for some testing in whatever touch and desktop devices anyone fancies having a go with.

Thanks for your help to date, the feedback has been invaluable.

http://www.c5magic.co.uk/add-ons/...
enlil replied on at Permalink Reply
enlil
Not seeing any issues from either browser on my phone.
JohntheFish replied on at Permalink Reply
JohntheFish
Great. Thanks for sticking with this. I just need someone with an iOS phone or ipad to give it a try now.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
The left and right swipe is good on the Ipad,
but the scrolling is intermittent when using gestures in the center of the screen, okay at the sides though..
JohntheFish replied on at Permalink Reply
JohntheFish
Thanks for testing.

I think I will have to go with that as a limitation.

I have experimented with several different swipe enabling libraries and algorithms between posting test requests on code I thought was close to good enough, including some big name libraries.

Many work acceptably if the entire page is coded to be handled by the library, but for adding swipe behaviour to a limited part of an existing page all have suffered similar issues (or considerably worse) just on my minimal phone.
JohntheFish replied on at Permalink Reply
JohntheFish
I have just submitted an addon based on these experiments to the PRB. Until approved, the link below will only work for PRB members.

@shahroq, @enlil, @weyboat: Thanks again for your help with testing. Once approved I will grant you each a licence.
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
Instant Swipe is now available in the marketplace.

http://www.concrete5.org/marketplace/addons/instant-swipe/...

@shahroq, @enlil, @weyboat - by the time you read this I should have granted the licences.