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

Focus shouldn't be retained after clicking an option in a multiple select #663

Closed
anton164 opened this issue Jul 28, 2014 · 1 comment
Closed
Labels
Milestone

Comments

@anton164
Copy link

This is in Chrome 36.0.1985.125.

screen shot 2014-07-28 at 20 20 07

In the picture above, I have selected Banana and Orange and I'm hovering Pineapple with my mouse (OS X screen capture doesn't show it). Since Banana was my last pick, it was focused and thereby the focus class (blue background) was applied. This makes perfect sense for a single select, but with a multiple select it looks a bit confusing, as Banana and Orange are selected (and checked), but only Banana has the focus class applied. Since my mouse is hovering over Pineapple it even adds to the confusion as it also has the focus class applied.

This fiddle shows a temporary fix of how I think the behaviour should be. Only what's hovered has focus (and the class applied).

@t0xicCode t0xicCode added the bug label Jul 31, 2014
@t0xicCode
Copy link
Collaborator

I was able to reproduce in firefox 31 on linux x64.

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

No branches or pull requests

2 participants