typeahead.js icon indicating copy to clipboard operation
typeahead.js copied to clipboard

Iphone 6 issues.I know its not supported but maybe someone has an idea

Open Rembacher opened this issue 11 years ago • 3 comments

Hi Everyone, the typeahead works on Android smartphones & tablets, on all Ipads, on Iphone 4 & 5. But I recently discovered it doesn't work on Iphone 6. I know it is not supported on mobile devices here but if anyone would have any idea why it doesn't work on Iphone 6 would be great. My past issues to show it works on all other mobile devices are #477 , #568 , #517 .

Rembacher avatar Jan 12 '15 23:01 Rembacher

Update....the typeahead examples work on Iphone 6 so it must be my code. Also, I'm still using version 0.9.3.....could it be that version 0.10.5 works?

Rembacher avatar Jan 26 '15 04:01 Rembacher

Update....tested version 0.9.3 on another website with Iphone 6 and working. So 100% is an issue with my code

Rembacher avatar Jan 26 '15 06:01 Rembacher

Update. Absolutely no idea however placing this code:

section style="display:none;" input class="states" type="text" spellcheck="false" dir="auto" style="display:none;" /section script $('.states').typeahead({
name: 'states',
prefetch: php echo json_encode ($arrayvendor); //Return the JSON Array,
limit: 10
}); /script

Between my typeahead text fields and my typeahead script code it somehow works on Iphone 6. The pages sometimes have to be refreshed in order for it to work so would maybe someone have any idea how to make it keep working without "refresh", for example on "going back to last page"?

Rembacher avatar Mar 15 '15 02:03 Rembacher