select-multiple icon indicating copy to clipboard operation
select-multiple copied to clipboard

Keyboard navigation not working

Open MojoDK opened this issue 10 years ago • 3 comments

(I'm using latest version of Google Chrome)

Pressing down arrow makes the slection randomly jump to the top.

Here in this screencast, I just keep pressing down key:

http://www.screencast.com/users/Mojodk/folders/Snagit/media/8272a34a-d2c2-441c-a419-2fdd794d807b/embed

MojoDK avatar Jul 07 '15 05:07 MojoDK

Hello MojoDK, I am sorry for late reply, have been very busy since last 13 days. I will work on it when I am free. :)

Thanks for posting the issue.

krazedkrish avatar Jul 19 '15 11:07 krazedkrish

Hi krazedkrish,

I think the issue is still valid. Any chance you could have a look on it? :-)

Thanks, Xavier.

MaitreVaxor avatar Oct 15 '16 10:10 MaitreVaxor

Hi again,

I just made some tests and it seems it's related to the fact the element needs to have the focus so key mapping properly works (even is not triggered if no focus). So this is something users can fix by calling the Jquery focus() function on the list when displaying the list. For me, it looks like: $("#filter_zone_"+filter_name+ " .ms-list").focus(); filter_zone_xxx being the container of my list. Yet please note that there is still an issue if you have your mouse arrow on your list while using keyboard (similar to the one described above). Also, as a side note, I removed $elems.removeClass('ms-hover'); from the function selectHighlighted to be able to select multiple elements with space bar without losing focus.

Thanks, Xavier.

MaitreVaxor avatar Oct 15 '16 15:10 MaitreVaxor