Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In our code we have an input element inside a label. The click on the label generates two clicks, but the second click was not recognised by angular-touch as a label click, because it only looks at the current element, instead of looking for a label in parent elements. Therefore, the second click gets busted, and clicking on the label doesn't do anything for 2500ms. I added the additional lookup for a containing label inside one of the conditions inside the onClick method. Closes angular#11577
- Loading branch information