Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Make Auto-Close Dropdowns optional #2218

Closed
ulilicht opened this issue May 19, 2014 · 12 comments
Closed

Make Auto-Close Dropdowns optional #2218

ulilicht opened this issue May 19, 2014 · 12 comments

Comments

@ulilicht
Copy link

Hi,

a DropDown always closes when clicked somewhere on the document. It would be great if this would be optional - for example if i put a complex dialog in a dropdown, i want to close it manually. For example: a calendar widget.

Here you can find a Stackoverflow issue which adresses exactly that:
http://stackoverflow.com/questions/23698316/how-to-prevent-an-angular-bootstrap-dropdown-from-closing-unbind-event-which-wa/23723686?noredirect=1#23723686

The corresponding lines in code can be found here:
https://github.com/angular-ui/bootstrap/blob/master/src/dropdown/dropdown.js#L12

It would be great to apply line12 only if the user whished for example by an option.

@rzschech
Copy link

+1

9 similar comments
@ehunter
Copy link

ehunter commented Jul 25, 2014

+1

@automotua
Copy link

+1

@JohnLindahlTech
Copy link

+1

@DaneWiid
Copy link

DaneWiid commented Aug 8, 2014

+1

@t-boris
Copy link

t-boris commented Aug 9, 2014

+1

@marcalj
Copy link

marcalj commented Sep 17, 2014

+1

@Sergey6116
Copy link

+1

@madhums
Copy link

madhums commented Oct 27, 2014

+1

@Rodeoclash
Copy link

+1

@chrisirhc
Copy link
Contributor

This sounds like a capability that could easily abused and cause accessibility issues, but if someone submits a PR with tests, I'll gladly review it.

@wesleycho
Copy link
Contributor

Landed from #3045. This will be in the next release.

@karianna karianna removed the PRs plz! label Mar 31, 2015
fernando-sendMail pushed a commit to fernando-sendMail/bootstrap that referenced this issue Jul 9, 2015
fernando-sendMail pushed a commit to fernando-sendMail/bootstrap that referenced this issue Jul 16, 2015
fernando-sendMail pushed a commit to fernando-sendMail/bootstrap that referenced this issue Jul 16, 2015
fernando-sendMail pushed a commit to fernando-sendMail/bootstrap that referenced this issue Jul 16, 2015
fernando-sendMail pushed a commit to fernando-sendMail/bootstrap that referenced this issue Jul 16, 2015
fernando-sendMail pushed a commit to fernando-sendMail/bootstrap that referenced this issue Jul 16, 2015
fernando-sendMail pushed a commit to fernando-sendMail/bootstrap that referenced this issue Jul 16, 2015
fernando-sendMail pushed a commit to fernando-sendMail/bootstrap that referenced this issue Jul 16, 2015
fernando-sendMail pushed a commit to fernando-sendMail/bootstrap that referenced this issue Jul 16, 2015
fernando-sendMail pushed a commit to fernando-sendMail/bootstrap that referenced this issue Jul 16, 2015
fernando-sendMail pushed a commit to fernando-sendMail/bootstrap that referenced this issue Jul 16, 2015
fernando-sendMail pushed a commit to fernando-sendMail/bootstrap that referenced this issue Jul 16, 2015
fernando-sendMail pushed a commit to fernando-sendMail/bootstrap that referenced this issue Jul 16, 2015
fernando-sendMail pushed a commit to fernando-sendMail/bootstrap that referenced this issue Jul 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests