镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
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 [REOPEN] #6459

Open

Description

@GAndriyS

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

Activity

  1. tangj1206 commented on Feb 14, 2017

    @tangj1206

    I have this pronlem too.who can slove

  2. GAndriyS commented on Mar 10, 2017

    @GAndriyS
    Author

    I would like to rise this issue

  3. tangj1206 commented on Mar 10, 2017

    @tangj1206

    Can you tell me how do you solve Thanks

  4. GAndriyS commented on Mar 10, 2017

    @GAndriyS
    Author

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

  5. blackhearted commented on Aug 18, 2017

    @blackhearted

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

  6. shlomica commented on Feb 1, 2018

    @shlomica

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions