-
Notifications
You must be signed in to change notification settings - Fork 6.7k
uib-dropdown-toggle <input> re-focusing on outside click #6321
Comments
@GAndriyS I am facing the same issue. Do you have any solution yet? |
@svisamsetty not yet, I'm waiting for developer's answer. |
On 2.3 that error is still present, and it's very annoying |
Having the same problem.. Resolved the refocusing issue by commenting out the focus call on the toggleElement.
Not sure of any impact, but this gave back the ability to focus the items correctly. The Angular-UI example, if you toggle a dropdown menu, and the scroll away and click, the same thing of the menu being re-focused occurs. |
Same issue. However, I face the issue only when I build the code as production mode. In my development mode, it works fine. Please anyone help! |
Same issue here, clicking everywhere focuses on the toggle element and scrolls the page making inputs not working |
Same here. |
I did the following to fix for myself, e07f9fd I updated an existing PR to support something else so obviously better to have separate PR for it |
+1 Thanks @neehouse for the suggested temp fix. |
+1 |
@lukehutton e07f9fd works great for me! Thank you! |
facing same issue. I cannot focus on input in different controller or even in same directive. But I can focus on different dropdown. |
Bug description:
uib-dropdown-toggle re-focusing on outside click (e.g. another common, non-dropdown-toggle input)
Steps to reproduce
Observed
Hide dropdown menu , focus returns to uib-dropdown-toggle
Expected
Hide dropdown menu, set focus to clicked element
Link to minimally-working plunker that reproduces the issue:
https://plnkr.co/edit/sxREBmeGwoFBQ4ZnOLIV?p=preview
Version of Angular, UIBS, and Bootstrap
Angular: v1.5.8
UIBS: Version: 2.2.0 - 2016-10-10
Bootstrap: v3.3.7
The text was updated successfully, but these errors were encountered: