11-12-2010 04:08 PM
Hello,
I am using 9780 simulator with OS 6.0.0.294 with focus-based navigation. In the code I have simple drop down list i.e.
<select name="Select1">
<option selected="selected">Yes</option>
<option>No</option>
</select>
When the drop down list gains focus it pops up the list right away instead of waiting for the user to click on it and pops up the list. I am not certain if I miss anything here or not.
I know that in OS 5 there is a bug https://www.blackberry.com/jira/browse/WEBAPI-55 but not certain about OS 6.
Thank you.
11-14-2010 03:22 PM
Hello ananddrs,
I've noted the same issue on a 9700 and an 9300 device on OS 6 @ http://supportforums.blackberry.com/t5/Web-Develop
My work around was to create another focusable item above or below the select , capturing the onUp or onDown (ie... x-blackberry-onUp) and jump over the select. Also, catch the onclick event of your hidden focus element and at that point, set the focus on the <select>.
It is a little bit of extra code, but it gets around the onfocus defaults of the select in OS 6.
11-18-2010 12:29 PM
Thank you very much. This helps alot.
A
11-20-2010 08:38 AM
We have this logged as a bug and we will be looking to see what we can do to correct the issue
11-20-2010 11:27 AM
Hey guys, additional note...
On the Torch specifically (6.0.0.246), if you switch focus to a select ( blackberry.focus.setFocus('mySelect'); ) it does not follow the same behavior as the non-touch devices. The only way I've been able to show the options of a select on a Torch has been by touching the screen. Clicking the trackpad while focused on the select does not show it's options.
01-21-2011 06:51 AM
Is there any resolution for this bug? i think this is a critical issue.
lasterra.