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 was archived by the owner on May 29, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on May 29, 2019. It is now read-only.
uib-dropdown-toggle <input> re-focusing on outside click #6321
Same here.
No matter what I do, everything works as expected before a dropdown-menu is clicked. After that, the last dropdown clicked will get focus no matter where I click
Activity
svisamsetty commentedon Dec 12, 2016
@GAndriyS I am facing the same issue. Do you have any solution yet?
GAndriyS commentedon Dec 12, 2016
@svisamsetty not yet, I'm waiting for developer's answer.
kwiateusz commentedon Dec 13, 2016
On 2.3 that error is still present, and it's very annoying
neehouse commentedon Dec 13, 2016
Having the same problem.. Resolved the refocusing issue by commenting out the focus call on the toggleElement.
scope.focusToggleElement = function() { if (self.toggleElement) { //self.toggleElement[0].focus(); } };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.
usos0k commentedon Dec 16, 2016
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!
alex88 commentedon Dec 16, 2016
Same issue here, clicking everywhere focuses on the toggle element and scrolls the page making inputs not working
nicomelchiori commentedon Dec 18, 2016
Same here.
No matter what I do, everything works as expected before a dropdown-menu is clicked. After that, the last dropdown clicked will get focus no matter where I click
lukehutton commentedon Dec 19, 2016
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
petedavis commentedon Dec 19, 2016
+1 Thanks @neehouse for the suggested temp fix.
Gusi commentedon Dec 20, 2016
+1
dougludlow commentedon Dec 20, 2016
@lukehutton e07f9fd works great for me! Thank you!
GAndriyS commentedon Feb 10, 2017
neither e07f9fd or 955848c don't works for me, described bug still can be reproduced in version 2.5.0
http://plnkr.co/edit/zanydRnj0ghWiEdvt4Cg?p=preview
rzawar commentedon Feb 17, 2017
facing same issue. I cannot focus on input in different controller or even in same directive. But I can focus on different dropdown.