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

focusing back to oi.select element does not trigger focus event on container #88

Open
michalgm opened this issue May 19, 2016 · 0 comments
Labels

Comments

@michalgm
Copy link

If you focus an oi.select element, then tab to another element, and then tab back to the oi.select, the oi.select container does not trigger the focus event, and therefore does not receive the focused class, making it hard to detect when the element has focus. See this plunk for an example:
http://plnkr.co/edit/T5vWRoPLn2hIHfAULYZ6?p=preview

The fix seems to be as simple as setting isFocused to false in the blurHandler method within bindFocusBlur. Here is the same plunk with this fix applied:
http://plnkr.co/edit/AKglO9nkNXrwg73Pg8an?p=preview

Will attach a PR.

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