-
Notifications
You must be signed in to change notification settings - Fork 1.7k
NGX-Bootstrap v5.6.1 Dropdown Menu append to body not aligning with the dropdown trigger element #5906
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
Comments
This was working correctly in v5.5.0, and broken in v5.6.0 |
Yep, this issue blocked my update of Angular. |
Any plan, when this will be fixed? |
Hello, thanks for great work. There are 2 problems: // Normalize placements that have identical main placement and variation ("right right" => "right"). if start and end are valid values, normalize regex should be like this
data.offsets.target = { Question: are start and end valid options? these options are not mentioned in docs. If yes there is no handling for these options, if no, solution should be to change default from "bottom start" to "bottom left" Quick fix (default behaviour): |
Same issue here. |
Bug description:
When using [container]="body" for the Dropdown component the dropdown panel is not aligned properly with the parent(trigger) element.
Plunker/StackBlitz that reproduces the issue:
This issue is easily replicated in the ngx-bootstrap demo site.
https://valor-software.com/ngx-bootstrap/#/dropdowns
Versions of ngx-bootstrap, Angular, and Bootstrap:
ngx-bootstrap: 5.6.1
Angular: 9.1.4
Bootstrap: 3.4.1
Expected behavior
The dropdown panel should be aligned inline with the parent(trigger) element.
The text was updated successfully, but these errors were encountered: