Skip to content

Conversation

@RobertK0
Copy link

.layout-dropdown class is only ever used in conjunction with .dropdown, but it was inadvertently causing issues with other packages which did not use layout-dropdown class

To fix this, layout-dropdown selector was changed to dropdown, which is the default bootstrap class

Along with this, added another condition that targets only bootstrap 5+ using data-bs-toggle parameter, which replaced data-toggle; In versions 5+, bootstrap implemented automatic dropdown closing and configuration through data parameters, rendering this snippet of code unnecessary for those versions, and this condition should prevent that.

@RobertK0 RobertK0 requested a review from emodric January 31, 2025 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants