Search and Top Navigation
#10433 closed bug (invalid)
Opened July 28, 2014 09:10AM UTC
Closed August 12, 2014 08:37AM UTC
iconselectmenu('open') can't navigate with cursor in popup
Reported by: | bugtester | Owned by: | bugtester |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.selectmenu | Version: | 1.11.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
My cursor is in a input (type=text). When I press the tabulator-key I will open a specific select. I tried this:
$('.selector').iconselectmenu('open');
Its working fine and open the popup and input have lost focus, BUT I can't use cursor to navigate in the open popup of selectbox.
When I click on selectbox the popup is open and I can navigate with cursors.
Is this a bug or something missing in my code?
I have tried:
$('.selector').iconselectmenu('open').focus();
$('.selector').iconselectmenu('open').iconselectmenu('focus'); no such method 'focus' for iconselectmenu widget instance
$('.selector').iconselectmenu('open').selectmenu('focus'); cannot call methods on selectmenu prior to initialization; attempted to call method 'focus'
Select was successfully created with:
$('.selector').iconselectmenu().iconselectmenu('menuWidget').addClass('ui-menu-icons customicons');
Attachments (0)
Change History (3)
Changed July 28, 2014 10:46AM UTC by comment:1
_comment0: | Workaround: \ \ the selectbox have id "combo", so now call: \ \ $('#combo-button').focus(); → 1406545059779408 |
---|---|
_comment1: | Workaround: \ \ the selectbox have id "combo", so now call: \ \ $('#combo-button').focus(); \ \ BUT now TAB and ESC not working in popup. → 1406548790598515 |
_comment2: | Workaround: \ \ e.preventDefault(); \ $('#combo-button').click(); \ $('#combo-button').focus(); → 1406548798021533 |
Changed July 28, 2014 12:23PM UTC by comment:2
owner: | → bugtester |
---|---|
status: | new → pending |
Can you please provide a reduced test case using jsFiddle to more clearly show the behavior you're describing?
Changed August 12, 2014 08:37AM UTC by comment:3
resolution: | → invalid |
---|---|
status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Workaround:
e.preventDefault();
$('#combo-button').click();
$('#combo-button').focus();