Selection not highlighting on Iphone/Ipad
Hi Everyone,
fixed my last issue(#477) and it works on all tablets and smartphones except Iphone or Ipad. I know mobile browsers are not supported but maybe a simple "onmouseover" somewhere in the .js file could work?
Thanks, Richard
Hi Everyone,
fixed it on the Ipad by adding "-webkit-appearance:textfield;" to the .tt-is-under-cursor class(see below). However this is still not working on the Iphone.
.tt-is-under-cursor { color: #000000; background-color:#91c0fe; -webkit-appearance:textfield; }
Thanks, Richard
Hi Everyone,
ok, added "-webkit-tap-highlight-color: rgba(145,192,254,0.2);" to the .tt-suggestion class and that works on Chrome mobile. This is the best way the selection works as on other Android browsers, touching the dropdown list will activate the .tt-is-under-cursor class. If anyone out there knows how to have the same behaviour(no effect on touching, effect on tabbing/selecting/clicking) as Chrome Mobile on other Android browsers and Iphone would be great.
Thanks, Richard
FYI, typeahead.js doesn't officially support phones and tablets. We've never tested it on those devices and have made no claims of support.
Regardless, I appreciate you posting useful info here. Thanks!