PDA

View Full Version : rotational focus issue in the form for combobox



rakesh.mmp
3 Sep 2015, 6:14 AM
Hi

I want to focus fields on tab key press, for that have given tab-index for each of the fields in ascending order. But for the last field in order to focus back to first field I have used blur event.

Please refer fiddle link - https://fiddle.sencha.com/#fiddle/csa

But blur event for combo box seems to be not working properly.

Please help me in finding solution.

Regards,
Rakesh

tristan.lee
8 Sep 2015, 11:24 AM
Can you describe what exactly is happening vs what you expect? When I view your fiddle, I see that pressing the TAB key continues to cycle through the fields. Once it reaches the combo field, it focuses back to the top.

rakesh.mmp
8 Sep 2015, 10:33 PM
Hi tristan.lee,

Thanks for your reply.
Yes, once it reaches the combo-box field, it focuses back to the top. Again if we press tab it doesn't go to next field. Why is it?

Regards
Rakesh

tristan.lee
10 Sep 2015, 8:31 PM
Everything seems fine in Chrome and FF for me in Windows, but I do get unexpected behavior in FF on OSX. It sends focus to the address bar after tabbing from the combobox. Is this what you are seeing?

tristan.lee
10 Sep 2015, 8:36 PM
It looks to be an accessibility issue in FF for OSX. I found this article and configuration for the accessibility.tabfocus entry. I had to create that entry and set it to 7 (default Windows value) and now it continues to focus through all the fields.