-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collection repeat and hrefs #1674
Comments
Clarification, the link working on the first item is the bug. After scrolling and going back to the top, I often find it links to the 16th - 20th item (depending on velocity). |
It seems this bug happens on ionic beta.7 and later. |
I see.. it's because if We can add special cases for |
angular/angular.js#6986 is a pull request to fix this. Until that's merged, we'll create a patch on our end. |
Thank you for looking into this issue, but I guess the problem still happens in slightly modified case. The change fixes if the list is using But the problem still happens if the list is using |
Going to reopen this one. Using |
I guess this change will fix this issue. ionic-angular.js, around line 657
|
Fixed. |
Using ionic 1.0rc4, when I type a french phone number in an item of collection-repeat: 0633445566, iOS transforms it into a Phone link and the bug happens. |
@mica16 can you provide a codepen? |
I was having a similar issue and my solution was to disable phone number linking in Mobile Safari using this meta tag:
A relevant Stack Overflow post which provided the solution: |
If you are evaluating an express with
ng-href
with collection repeat, it causes some issues.http://codepen.io/mhartington/pen/dfLkb
This first item will not have a link, but if you scroll down item 25, click it, go back, then scroll up to first item and click it, you will get a link.
But if you use
href
instead, everything works fine.http://codepen.io/mhartington/pen/GDBdr
The text was updated successfully, but these errors were encountered: