Skip to main content
Vanessen Munisamy (Rothelec) ha fatto una domanda in #Mobile
On my vf page running in IOS (salesforce1), when I type in a search box, i execute a search and display a list of accounts, but when we moved to winter 15 or new version of salesforce1 for IOS, when i clicked in the search box, it proposes natively some text. I have to click on done to hide the keyboard which take much of my screen. But when i do this, my page become blank. Doest anyone having this issue?
3 risposte
  1. 7 apr 2015, 06:39
    I was reported as a know issue with sample code to avoid this from salesforce :

    (function(){

                try{

                    var a=navigator.userAgent;

                    if((a.indexOf('Salesforce')!=-1)

                        &&(a.indexOf('iPhone')!=-1

                        ||a.indexOf('iPad')!=-1)

                        &&(a.indexOf('OS/8')!=-1

                        ||a.indexOf('OS 8')!=-1)

                        &&(a.indexOf('Safari')==-1))

                        {

                            var s=document.createElement('style');

                            s.innerHTML="html,html body{overflow: auto;-webkit-overflow-scrolling:touch;}body{position:absolute;left:0;right:0;top:0;bottom:0;}";

                            document.getElementsByTagName('head')[0].appendChild(s);

                        }

                }

                catch(e){

                }

            })();
0/9000