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

The active class of dropdown-item is not being switched correctly after 5.2. #36894

Closed
3 tasks done
maliming opened this issue Aug 3, 2022 · 5 comments
Closed
3 tasks done

Comments

@maliming
Copy link

maliming commented Aug 3, 2022

Prerequisites

Describe the issue

The active class of dropdown-item is not being switched correctly.

Reduced test cases

Try to select the item on the dropdown menus.

image

Bootstrap 5.1
https://stackblitz.com/edit/web-platform-kwgudn?file=index.html

Bootstrap 5.2
https://stackblitz.com/edit/web-platform-tqeusi?file=index.html

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome

What version of Bootstrap are you using?

5.2

@maliming maliming changed the title The active class of dropdown-item is not being switched correctly after 5.2. The active class of dropdown-item is not being switched correctly after 5.2. Aug 3, 2022
@omkarpawar2001
Copy link

Can you send me repo link where i can fork and send pull request? I have fixed the issue.. Kindly assign it to me

@julien-deramond
Copy link
Member

Can you send me repo link where i can fork and send pull request? I have fixed the issue.. Kindly assign it to me

We don't assign tasks. You can propose a PR to fix this issue. You have the info to fork the repo directly in https://github.com/twbs/bootstrap.

@GeoSot
Copy link
Member

GeoSot commented Sep 22, 2022

I suppose is solved on #37151

@maliming please try to use the following script and give us some feedback
https://deploy-preview-37151--twbs-bootstrap.netlify.app/docs/5.2/dist/js/bootstrap.bundle.min.js

@maliming
Copy link
Author

Thanks @GeoSot I will test it asap.

@maliming
Copy link
Author

Solved by #37151

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

4 participants