-
Notifications
You must be signed in to change notification settings - Fork 196
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
Refactor tests for dropdown menu #2114
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just a minor nit comment, so if you fix that it's ready to be merged.
@SanderKnauff: I think this was addressing the same problem as #2120. I'm sorry that I caused you doing the same work just by not following up on this one. Honestly speaking I only noticed when resolving merge conflicts that it was about the same issue. This one is no limited to refactoring the tests. Would be great if you could review anyways. I think it is still a small improvement. |
No worries! I also completely forgot about this one. The changes look good, so this can be merged! |
Dropdown is aligned based on CSS class if used within a
<BsNav>
or<BsNavbar>
. Bootstrap 5 expects the.dropdown-menu-end
CSS class for the alignment. But Ember Bootstrap rendered the.dropdown-menu-right
CSS class for Bootstrap 5 as well. That one is only correct for Bootstrap 4.Additionally this fixes a bug rendering
.dropdown-menu-false
CSS class if@align
argument was not set. That was introduced in 94ed264#diff-6edad28cc2b90ce452b543d7e652aea3319372185fdc0b84ebad39a812820252L46-R48 but didn't had any visual impact.