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

Dropdown cleanup and fixes #35752

Merged
merged 3 commits into from
Feb 1, 2022
Merged

Dropdown cleanup and fixes #35752

merged 3 commits into from
Feb 1, 2022

Conversation

GeoSot
Copy link
Member

@GeoSot GeoSot commented Jan 30, 2022

This Pr is piece of #35534, in order to lead the way for some more optimization

Closes #35199

@GeoSot GeoSot requested a review from a team as a code owner January 30, 2022 22:10
@GeoSot GeoSot requested a review from XhmikosR January 30, 2022 22:11
As we use the `dataApiKeydownHandler` only for events that are triggered on `[data-bs-toggle="dropdown"]` or on `.dropdown-menu`, we can ensure that their `parentNode` will ALWAYS be the `.dropdown` wrapper
…Node` is ALWAYS the wrapper for toggle & menu
@XhmikosR XhmikosR changed the title Dropdown optimizations Dropdown cleanup and fixes Feb 1, 2022
@XhmikosR XhmikosR merged commit c44d99f into main Feb 1, 2022
@XhmikosR XhmikosR deleted the gs/dropdown-patch branch February 1, 2022 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bootstrap 5 Dropdown: Window.getComputedStyle: Argument 1 is not an object.
2 participants