If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

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
BlackBerry Development Advisor
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Focus navigation mode too slow

Hmm.. I'm wondering if it's a general trackpad/WebWorks issue... Have you tried to see if the same thing happens without bbUI? 

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.
Developer
nunodonato
Posts: 313
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha
My Carrier: TMN

Re: Focus navigation mode too slow

No, I didn't... my guess is that it would work. It seems bbui messes up the focus sometimes.

For example, to try to fix this problem, I tried to do a setFocus on a different element everytime the screen changes, but it doesn't seem to work.

The x-blackberry-initialFocus="true" also seems to break with bbui.

Nuno
theBBthing.wordpress.com - my BlackBerry development blog: news, tips and tutorials
bitoutsidethebox.com - re-imagining digital solutions


Please use plain text.
Developer
songdawg
Posts: 59
Registered: ‎06-08-2011
My Device: n/a
My Carrier: n/a

Re: Focus navigation mode too slow

[ Edited ]

I have also been having issues with setting focus to a text input while using bbui. In the screen's onload, setFocus or focus() doesn't seem to work. Would love to see a sample of it working.

Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Focus navigation mode too slow

You likely can't set the focus in the onscreenready event of bbUI.  This event fires when the screen has been loaded into memory so that you can manipulate it before it is inserted into the DOM.

 

I have an ondomready event that will be added and available in 2.5 weeks :smileyhappy:

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Focus navigation mode too slow

Figured out the slow trackpad navigation issue in bbUI :smileyhappy:

 

https://github.com/blackberry/bbUI.js/issues/33

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.
Developer
nunodonato
Posts: 313
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha
My Carrier: TMN

Re: Focus navigation mode too slow

Cool! :smileyvery-happy:

Doesn't look so pretty, but the speed is way better :smileyhappy:

Nuno
theBBthing.wordpress.com - my BlackBerry development blog: news, tips and tutorials
bitoutsidethebox.com - re-imagining digital solutions


Please use plain text.
Regular Contributor
liammccann
Posts: 68
Registered: ‎06-12-2012
My Device: Blackberry Bold 9780
My Carrier: Vodafone

Re: Focus navigation mode too slow

This seems to be the same issue as: http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/bbUI-Input-Slow-Delayed-Issues/t...

 

Still find many problems with focus based navigation and input feilds. Major annoying delays.

Please use plain text.
Contributor
Wongadob
Posts: 40
Registered: ‎05-12-2012
My Device: 9800
My Carrier: Virgin mobile

Re: Focus navigation mode too slow

I too am having really bad issues with focus based navigation and page switching. I have a seperate post for it, but it may be related to some of the isses above. I do not believe it is related to DOM ready as I can wait for ages afterwards and then try to set in web inspector console. It just wont set to new ID, but if I move the cursor once then do exactly the same thing to set the focus. It works.

 

Here is my post there is a lot of information in there

 

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Can-t-get-focus-setFocus-working...

 

 

Please use plain text.
Regular Contributor
liammccann
Posts: 68
Registered: ‎06-12-2012
My Device: Blackberry Bold 9780
My Carrier: Vodafone

Re: Focus navigation mode too slow

Has anyone came up with a fix or solution for this issue yet? Or even a work arround?
Please use plain text.