Hi,
I have the following problem with my webdropdowns.
I need the dropdowns to close when I leave them with the TAB key. If you open one dropdown, then move through the items with the arrow keys and the press TAB, the dropdown remains open (see attached demo project).
I added the followin code to fix this:
$("input.igdd_ClaymationValueDisplay ").off("blur").on("blur", function (e) { var dropDown = $(e.target).parents(".igdd_ClaymationControl")[0]; $IG.WebDropDown.find(dropDown.id).closeDropDown();});
However the following problem remains. After you press TAB, the focus moves to the next element, but when the first dropdown closes it automatically takes the focus back. It seems to be some kind of automatic focus management of the dropdown. Is there any way to avoid this behaviour?
Thanks in advance.
By the way, this also happens here:
http://ko.infragistics.com/samples/aspnet/drop-down/client-events
Open dropdown, move with keys, click on the textbox (or press TAB) and the focus goes back to the dropdown automatically.
Is there a workaround for this?
Hello and thank you for noticing this!
We will require some time to investigate the matter and I will come back to you with more details, and a possible workaround. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID #217237 “WDD focus is fired one additional time, when selecting an item using the keyboard and pressing TAB key” You could keep track of it via our website.