Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Regular Contributor
Posts: 68
Registered: ‎06-12-2012
My Device: Blackberry Bold 9780
My Carrier: Vodafone

bbUI - Input Slow/Delayed Issues

 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 <body onload="load()">

Which calls the javascript function that has the followling lines of code: 



bb.init(); bb.pushScreen('home.html', 'FormPersonal');}


We have tried many different ways and still cant seem to solve this delay. Is anyone aware of this or alternvatives to this problem (apart from Jquery Mobile which seems to run to slow on our device), even libarys that make the funcationaly fast and HTML5 look more native?

Highlighted
Regular Contributor
Posts: 68
Registered: ‎06-12-2012
My Device: Blackberry Bold 9780
My Carrier: Vodafone

Re: bbUI - Input Slow/Delayed Issues

If we remove the following line from config.xml
<rim:navigation mode="focus" />
There is no delay, how can we get round this?