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

when pressing up/down on a closed select menu, selection changes, but focus is lost #305

Closed
BenMakesGames opened this issue May 30, 2013 · 5 comments

Comments

@BenMakesGames
Copy link

specifically, focus seems to be placed on the first form element in the selectmenu's form.

for my project, I patched this by adding

this.button.focus();

to the end of the case $.ui.keyCode.UP: and case $.ui.keyCode.DOWN: blocks

@fnagel
Copy link
Owner

fnagel commented May 30, 2013

Im not able to reproduce this in default demo. Any specific browser?

Did you test your proposed fix in all browsers? Any drawbacks?

@BenMakesGames
Copy link
Author

hm, no, you're right, this doesn't happen in the demos. there are a lot of plugins; it's possible there's a conflict somewhere.

sorry: I may have been too hasty. I'll investigate further.

@fnagel
Copy link
Owner

fnagel commented May 30, 2013

No problem. If you have a link I could quick check, but I would prefer a minimal demo, see #61

@BenMakesGames
Copy link
Author

sorry I took a while to get back: it was ultimately a problem with custom UI element script work we had done for us, and not ui-selectmenu.

sorry for the trouble!

@fnagel
Copy link
Owner

fnagel commented May 30, 2013

No problem. You're welcome!

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

No branches or pull requests

2 participants