bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

uib-dropdown-toggle <input> re-focusing on outside click [REOPEN]

Open GAndriyS opened this issue 8 years ago • 6 comments

REOPEN issue #6321

Bug description:

uib-dropdown-toggle re-focusing on outside click (e.g. another common, non-dropdown-toggle input)

Steps to reproduce

  1. Click to toggle dropdown menu
  2. Click on common input or outside of dropdown

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:

http://plnkr.co/edit/zanydRnj0ghWiEdvt4Cg?p=preview

Version of Angular, UIBS, and Bootstrap

Angular: v1.6.2

UIBS: Version: 2.5.0

Bootstrap: v3.3.7

P.S.

neither e07f9fd or 955848c don't works for me, described bug still can be reproduced in version 2.5.0

GAndriyS avatar Feb 10 '17 09:02 GAndriyS

I have this pronlem too.who can slove

tangj1206 avatar Feb 14 '17 07:02 tangj1206

I would like to rise this issue

GAndriyS avatar Mar 10 '17 15:03 GAndriyS

Can you tell me how do you solve Thanks

tangj1206 avatar Mar 10 '17 16:03 tangj1206

@JsSky126 alas, for now I don't have solution for this issue

GAndriyS avatar Mar 10 '17 18:03 GAndriyS

Any chance to get estimations? Does pull request from @JoshuaJWilborn solve the issue?

blackhearted avatar Aug 18 '17 13:08 blackhearted

why in the closeDropdown function There is a call for focusToggleElement() ? openScope.focusToggleElement();

shlomica avatar Feb 01 '18 15:02 shlomica