Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Override mouseDown with touchstart #5334

Closed
ghost opened this issue Dec 9, 2013 · 6 comments
Closed

Override mouseDown with touchstart #5334

ghost opened this issue Dec 9, 2013 · 6 comments

Comments

@ghost
Copy link

ghost commented Dec 9, 2013

It would really be helpful and awesome if there was a directive for touchstart, even better would be if mousedown would overridden with touchstart just like touch does for click.

@MGray55
Copy link

MGray55 commented Dec 9, 2013

+1 - would be very useful

@bartronx7
Copy link

yes!

@adamada88
Copy link

+1!

@IgorMinar
Copy link
Contributor

unless I'm missing something, this should be pretty trivial to implement. are there some corner-cases we should consider?

@btford btford removed the gh: issue label Aug 20, 2014
douglasduteil added a commit to douglasduteil/angular.js that referenced this issue Oct 21, 2014
The mouse directives handle the touch events too.

Closes angular#5334
douglasduteil added a commit to douglasduteil/angular.js that referenced this issue Oct 21, 2014
The mouse directives handle the touch events too.

Closes angular#5334
douglasduteil added a commit to douglasduteil/angular.js that referenced this issue Oct 21, 2014
The mouse directives handle the touch events too.

Closes angular#5334
douglasduteil added a commit to douglasduteil/angular.js that referenced this issue Oct 21, 2014
The mouse directives handle the touch events too.

Closes angular#5334
douglasduteil added a commit to douglasduteil/angular.js that referenced this issue Oct 21, 2014
The mouse directives handle the touch events too.

Closes angular#5334
@petebacondarwin petebacondarwin modified the milestones: Backlog, ngTouch Overhaul Jan 26, 2016
@JimLynchCodes
Copy link

So how can you listen for "mousedown" equivalent event in ngTouch?

@Narretz Narretz modified the milestones: ngTouch Overhaul, Backlog Sep 14, 2016
@Narretz
Copy link
Contributor

Narretz commented Feb 13, 2017

Messing with the touch events isn't something that should be in core, in fact we even removed the NgClick touch / mousedown override, so let's close this. Hammer.js and FastClick are still around for people who need touch specific handling (not to mention ionic does it on its own for hybrid apps)

@Narretz Narretz closed this as completed Feb 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants