Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard navigation not working #1

Open
MojoDK opened this issue Jul 7, 2015 · 3 comments
Open

Keyboard navigation not working #1

MojoDK opened this issue Jul 7, 2015 · 3 comments

Comments

@MojoDK
Copy link

MojoDK commented Jul 7, 2015

(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

@krazedkrish
Copy link
Owner

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.

@MaitreVaxor
Copy link

Hi krazedkrish,

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

Thanks,
Xavier.

@MaitreVaxor
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants