Questions tagged [angularjs-ng-touch]

The ngTouch module provides touch events and other helpers for touch-enabled devices. The implementation is based on jQuery Mobile touch event handling (jquerymobile.com).

From Angularjs documentation:
The ngTouch module provides touch events and other helpers for touch-enabled devices. The implementation is based on jQuery Mobile touch event handling (jquerymobile.com).

See $swipe for usage.

43 questions
2
votes
1 answer

ngTouch fast click not working on mobile Safari

I'm creating an iOS web app with AngularJS 1.2.10 and use ngTouch to achieve fast click functionality. However it does not seem to work. There is still a noticable delay when using ng-click. As a test I removed ngTouch and added the fastclick.js…
1
vote
0 answers

modal is losing focus on device with narrower display

My app has ui-bootstrap modal with a few inputs and button. It works perfectly on desktop, but on narrower screen the modal is losing focus (cursor disappears from input box) after releasing mouse button, so it's quite difficult to enter anything…
P.K.
  • 1,746
  • 6
  • 25
  • 62
1
vote
1 answer

ui-select input does not get focus on click : conflict with angular-touch

I have a problem on an AngularJS application that uses both ui-select and angular-touch. On Safari, using a mobile device such as an iPad or an iPhone, when I click on the text input field of the ui-select directive, the virtual keyboard wont open,…
Eria
  • 2,653
  • 6
  • 29
  • 56
1
vote
1 answer

Define areas for touch events using ngTouch

I am working on an AngularJs web app and have just started using ngTouch to recognize swipe left and right, I want to use this to open and close my side bar menu. Currently it works and the menu opens and close however, I have the swipe events tied…
Colton Williams
  • 294
  • 1
  • 5
  • 24
1
vote
0 answers

Angular $swipe.bind scroll issue

I have a page full with images and a ng-click on every image. The problem is that users can't scroll on touch devices. I've tried to use the bind method of $swipe service. Here is my implementation: $scope.seeDetails = function (key, title) { …
marinvirdol
  • 1,263
  • 1
  • 12
  • 18
1
vote
1 answer

AngularJS ngTouch and ngSwipe throw error "TypeError: element.on is not a function"

I am using angular 1.4.0 and jQuery v1.11.1. I am trying to use ngTouch/ngSwipe. Both will not stop throwing the error "TypeError: element.on is not a function" on app loading (inside the bind-function). Sadly I can't reproduce this error in a…
1
vote
0 answers

Noticable delay in checkmark showing/hiding when clicking on checkbox on mobile

I am using the ngTouch module in Angular 1.3.12, running my site on both iPad and desktop. The problem is specific to mobile devices (iPad). I have a checkbox input wrapped in a label so that both checkbox and label will detect a…
L. Desjardins
  • 1,465
  • 1
  • 12
  • 22
1
vote
0 answers

Angular JS ng-click not responding only on iPad Portrait mode, working fine on Desktop

I'm trying to test an app on iPad, where i found ng-click not working on ipad portrait mode. It is working as expected on desktop and ipad landscape mode. Even on android phone same behaviour is seen. Working on landscape mode but not working on…
Sinha
  • 773
  • 2
  • 16
  • 34
1
vote
1 answer

Dropdown toggling not working with ngTouch

I need to stop event propagation on the main DIV and I set a flag on the original event object whether event occurred on the "more_vert" button. This works fine, but after to enable ngTouch the next code no work in OS: Android / Browser: Google…
kuskunko
  • 330
  • 6
  • 17
1
vote
0 answers

Is it possible to configure ngTouch to add a slight delay on certain elements?

I know ngTouch removes the default 300ms delay on mobile to make for a better mobile experience, but it makes mobile link taps occur so quickly that the -webkit-tap-highlight-color style no longer works. There are a few elements that I need to have…
DecafJava
  • 479
  • 2
  • 7
  • 19
1
vote
0 answers

AngularJS ngTouch $swipe move doesn't work

I used ngTouch Module for implement some things for touch devices. 'start' works fine. But the console.log() in 'move' case has not been displayed, if I drag the object out of the first drop-zone. Inside the first drop-zone 'move' works. …
JV3
  • 872
  • 2
  • 9
  • 21
1
vote
1 answer

Suppress ng-click action upon ng-swipe-left

Button works perfectly on touchscreen when clicking or left-swiping:
morsor
  • 1,263
  • 14
  • 29
1
vote
0 answers

need to trigger $swipe event in angularJS

I am using ngTouch for an angular html5-hybrid app. And one of things that happens that causes bugs it that $swipe will start but not end. For example, given the code below: The console will log "swipe started" and nothing else. This generally…
1
vote
0 answers

Using ng-click and ng-swipe on the same element

Using the 1.3 is it possible to make something like this work
jpiasetz
  • 1,692
  • 4
  • 21
  • 35
1
vote
1 answer

ngSwipe not working properly

I'm creating a touch screen application for my client using AngularJs. I'm using ngTouch and then the directives ng-swipe-left and ng-swipe-right. I've created a function that should be called when I swipe left and similarly for swipe right. HTML…
Ajay Srikanth
  • 1,095
  • 4
  • 22
  • 43