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

Different behaviour of .dropup and .dropdown #16913

Closed
Neologist opened this issue Jul 30, 2015 · 2 comments
Closed

Different behaviour of .dropup and .dropdown #16913

Neologist opened this issue Jul 30, 2015 · 2 comments

Comments

@Neologist
Copy link

Referring to the docs (http://getbootstrap.com/components/#dropdowns) the only difference between the .dropdown and the .dropup class should be that one is opening downwards and the other one upwards.

In fact they behave different if you click inside them. The .dropdown will stay open and the .dropup will close immediately. If you just put an <ul> with links inside the container you won't notice this issue but if you work with other elements (e.g. a form inside of the container) it won't work because the dropup will close as soon as you want to fill a form field.

@cvrebert cvrebert added the js label Jul 30, 2015
@cvrebert
Copy link
Collaborator

This presumably happens because

.on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
doesn't include .dropup

There are a couple additional instances of this in other plugins:

@mdo
Copy link
Member

mdo commented Sep 5, 2016

Bootstrap 3 is no longer being officially developed or supported.

All work has moved onto our next major release, v4. As such, this issue or pull request is being closed as a "won't fix." For additional help and support, we recommend utilizing our community resources. Thanks for your understanding, and see you on the other side of v4!

<3,
@mdo and team

@mdo mdo closed this as completed Sep 5, 2016
@mdo mdo modified the milestone: v3.3.8 Sep 6, 2016
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