-
Notifications
You must be signed in to change notification settings - Fork 74
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
Clickable phone links on mobile site #594
Comments
Yes, change in the works. I'll post some code later today or early tomorrow. As far as vanity numbers go, my Android phone is able to convert vanity numbers without any problem. I'll check on a couple of other devices, but it looks like it won't be an issue. |
Ok, since you guys are actively changing the way phone numbers are formatted in #415 I'm not going to submit a pull request until that's finalized. First-draft code (with tests) visible here: Or check it out live: The basic approach I'm thinking of is to define a Once you finalize how you're formatting the numbers, I'll pass the formatted number into that. That helper could go in the DetailFormatHelper, next to There's one tricky thing to deal with , which is that desktop browsers typically do not support the
Personally, I'm leaning towards the third approach since it's the simplest to implement and I don't forsee it being a big problem if the numbers don't look clickable. What do you think? |
After testing in a few more desktop browsers, it looks like the way that the links get handled depends partly on your OS (and maybe browser settings too?). All the browsers I've tried on my Mac prompt me to open Skype. On Linux, Chrome prompts me to open some weird open-source calling app, and Firefox crashes. I'll check on Windows and IE tomorrow when I'm at the office. |
The formatting of the phone number text and the link should be independent. If the |
Ok, that sounds fine. I'll write a separate format helper for the link destination if I need to. |
We've received feedback from users that the telephone numbers should be clickable on mobile phones. Is this a change that you're interested in?
This article seems to cover the basics of how to do it:
http://www.mobilexweb.com/blog/click-to-call-links-mobile-browsers
The text was updated successfully, but these errors were encountered: