42 questions
0
votes
2
answers
2k
views
AngularJS - ng-click + ng-touch not working properly on mobile
I have both ng-click and ng-touch on a button used for search.
On desktop the search and the functions called in ng-click work properly.
On mobile on the other side the search button stops working ...
1
vote
0
answers
125
views
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 ...
1
vote
1
answer
3k
views
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-...
3
votes
1
answer
244
views
How to call a function multiple times till user releases a button in AngularJS
I have a random function that I call when the user press a button. I would like to keep running that function till the user releases the button.
I found the mouse-down directive but it seems to not ...
0
votes
1
answer
100
views
Angular JS Validations shows issue after submit form and reset model value
I have login form,i clear the model if username or password is wrong,
when i submit form model value is cleared, but textbox validation message is show.
Here is my code.
login.html
<form name="...
1
vote
1
answer
246
views
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 ...
1
vote
0
answers
361
views
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:
...
10
votes
2
answers
2k
views
Angular ng-swipe with youtube iframe
I'm trying to build simply slider with images and youtube videos. I want make it works fine on touch devices, so I want to use ng-swipe-* from angular's ngTouch module. Unfortunately swipe doesn't ...
1
vote
1
answer
1k
views
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-...
0
votes
1
answer
341
views
angularJS ngTouch - can't get relative coordinates
using ngClick i am easily able to get the relative click coordinates from event.offsetX. however using ngTouch there seems to be no obvious way of doing this. i've inspected the event.originalEvent....
1
vote
0
answers
482
views
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 ...
1
vote
0
answers
912
views
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 ...
0
votes
1
answer
2k
views
AngularJS touchmove on multiple items
I have a list of items and when I move my finger over each then I want to get the id for example of each item. It works with a mouse but not with touch. I'm using this lib: https://github.com/nglar/...
0
votes
1
answer
328
views
ng-submit not firing with angular-touch / touch events
I have a weird issue where touch events are not firing ng-submit OR ng-click (in chrome device dev tools). Chrome dev tools simulates touchstart/touchend events, so I'm not sure why this wouldn't be ...
1
vote
1
answer
219
views
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 ...