aprsworld / wsWebDisplay

0 stars 0 forks source link

swipe support for touchscreens #91

Closed Cdetviler closed 8 years ago

Cdetviler commented 8 years ago

http://hammerjs.github.io/getting-started/

and

https://jquerymobile.com/

both have the ability to make this possible. Jquery mobile is in alpha, however, and they do not recommend using their framework for production applications

kb0thn commented 8 years ago

Hammer seems like the ticket.

On 3/9/2016 2:40 PM, Charlie Detviler wrote:

http://hammerjs.github.io/getting-started/

and

https://jquerymobile.com/

both have the ability to make this possible. Jquery mobile is in alpha, however, and they do not recommend using their framework for production applications

— Reply to this email directly or view it on GitHub https://github.com/aprsworld/wsWebDisplay/issues/91#issuecomment-194497940.

-James Jefferson Jarvis APRS World, LLC +1-507-454-2727 www.aprsworld.com

Cdetviler commented 8 years ago

I got swipe events working. I still need to tweak the settings to get them right. There are two problems right now:

1) it requires a certain element on the page to register the swipes. I chose the content container that holds all of the elements. Since other elements are on top of it at a higher z-index, the swipes are not recognized sometimes. I am sure there is a solution, I just didn’t get to it tonight.

2) Sometimes when a camera is being loaded at the same time as a swipe, it will create an indefinite loading camera on the next layout that loads.

Cdetviler commented 8 years ago

Swipe has been implemented pretty solidly at this point with the introduction of today's fixes. Any abnormalities from this point on can be reported as bugs.