Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto close not working on dropdown #569

Closed
amoldorkar-ezest opened this issue Jun 2, 2016 · 1 comment
Closed

auto close not working on dropdown #569

amoldorkar-ezest opened this issue Jun 2, 2016 · 1 comment

Comments

@amoldorkar-ezest
Copy link

amoldorkar-ezest commented Jun 2, 2016

here is my code

<div class="btn-group user-role" role="group" dropdown [autoClose]="'always'">
    <button id="dropUserRole" type="button" dropdownToggle class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        Super Admin
    </button>
    <div class="dropdown-menu" aria-labelledby="dropUserRole" dropdownMenu>
        <a class="dropdown-item" href="#">Dropdown link</a>
        <a class="dropdown-item" href="#">Dropdown link</a>
    </div>
</div>
@adrianfaciu
Copy link

I think always is the default behaviour, so if you remove [autoClose]="'always'" entirely, you should get the behaviour that you want.

valorkin added a commit that referenced this issue Mar 24, 2017
fixes #1674, fixes #1749, fixes #1623, fixes #1415, fixes #802, fixes #569, fixes #530, fixes #6,
fixes #1540, fixes #1217, fixes #591, fixes #478
valorkin added a commit that referenced this issue Mar 24, 2017
fixes #1674, fixes #1749, fixes #1623, fixes #1415, fixes #802, fixes #569, fixes #530, fixes #6,
fixes #1540, fixes #1217, fixes #591, fixes #478
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants