You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
I'm trying to configure my UI so that if a typeahead suggestion is selected, the UI automatically focuses the next field in the form. The behavior I'm seeing is that the next field is focused correctly, but then the typeahead field takes the focus back. It looks like the code that is causing this is:
Just to verify, you don't want it to focus on the input element after blur with typeahead-select-on-blur="true"? The Plunker here displays this behavior currently.
I think my issue is not that the field is refocused on select, but that the refocus happens after the onSelectCallback() callback is called, so the refocus can't be prevented.
Maybe the onSelectCallback() callback could be called inside the $timeout callback just after the call to element[0].focus()?
I'm trying to configure my UI so that if a typeahead suggestion is selected, the UI automatically focuses the next field in the form. The behavior I'm seeing is that the next field is focused correctly, but then the typeahead field takes the focus back. It looks like the code that is causing this is:
It seems like this behavior should be optional. Thanks!
The text was updated successfully, but these errors were encountered: