blackberry / WebWorks

BlackBerry WebWorks for Smartphones is a platform for building deeply integrated web applications for BlackBerry smartphones
http://developer.blackberry.com/html5
268 stars 51 forks source link

Input Fields Slow/Delayed #119

Open liammccann opened 12 years ago

liammccann commented 12 years ago

Device: Blackberry Bold 9780 Version: 6.0

When using the following HTML code for user input, there is many unexpected delays. -Usually delay in allowing the user to enter text -A delay in moving between fields sometimes jumping -If the user goes to a field and enters text to quick it stops them entering it atoll

The most president problem is the delay in allowing the user to type text which 9/10 times occurs.

The code we are using for the form is (home.html):

<div data-bb-type="round-panel"> 
    <div data-bb-type="panel-header">Personal Details</div>

    <div data-bb-type="label-control-container">

        <div data-bb-type="row">
           <div data-bb-type="label">First Name</div>
           <input type="text" />
       </div>

        <div data-bb-type="row">
           <div data-bb-type="label">Middle Name</div>
           <input type="text" />
       </div>

        <div data-bb-type="row">
           <div data-bb-type="label">Last Name</div>
           <input type="text" />
       </div>

        <div data-bb-type="row">
           <div data-bb-type="label">Notes</div>
           <textarea rows="5"></textarea>
        </div>

    </div>
</div>

The main page which loads it head file looks like

    <meta name="x-blackberry-defaultHoverEffect" content="true" />
    <meta name="viewport" content="initial-scale=1.0,width=device-width,user-scalable=no,target-densitydpi=device-dpi" />
    <link  rel="stylesheet" type="text/css" href="bbui-0.9.2.css"><link />
    <script type="text/javascript" src="bbui-0.9.2.js"></script>

And the body just simply

Which calls the javascript function that has the followling lines of code:
bb.init(); bb.pushScreen('home.html', 'FormPersonal');}

When removing the delay doesn't happen. but we require focus to make the UI more user friendly. We have tried many different ways and still cant seem to solve this delay.