-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Dropdown — Add option to make the dropdown menu clickable #33389
Conversation
I'd love for this and the base PR to be a part of Beta 3 if we can manage it. Offering more control over the dropdown clicks here will be a huge win for usage and general UX. |
Do we need to do anything for v4? #26189 |
It can be backported to V4. |
d5c2ded
to
5af22d5
Compare
5af22d5
to
8db578e
Compare
What's our next steps here? |
@mdo, Sorry for the delay, I will update it further. |
@rohit2sharma95 can you take care of this soon? Otherwise let's move it to 5.1.0. |
838e6be
to
8be74ed
Compare
8be74ed
to
ce84722
Compare
@rohit2sharma95 I guess we could, if it's not too much trouble, just note that this technically seems like a new feature. So, technically it should land in a 4.7.0 version. Just make sure you add the needed labels and we'll see when time comes to release a new 4.x version. :) |
Closes #32723
Adding one more option
autoClose
to configure the auto close behavior of the dropdown.Preview: https://deploy-preview-33389--twbs-bootstrap.netlify.app/docs/5.0/components/dropdowns/#auto-close-behavior
Ref: https://ng-bootstrap.github.io/#/components/dropdown/api#NgbDropdown