04-11-2012 09:17 PM
Hmm.. I'm wondering if it's a general trackpad/WebWorks issue... Have you tried to see if the same thing happens without bbUI?
04-11-2012 09:20 PM
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.
04-12-2012 08:25 AM - edited 04-12-2012 08:29 AM
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.
04-12-2012 08:30 AM
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
04-13-2012 09:02 AM
04-13-2012 01:41 PM
06-12-2012 04:42 AM
This seems to be the same issue as: http://supportforums.blackberry.com/t5/Web-and-Web
Still find many problems with focus based navigation and input feilds. Major annoying delays.
06-12-2012 11:32 AM
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