Skip to content

[Bug] Popover with adaptive position recalculates opened dropdown position #6588

Open
@ghost

Description

StackBlitz that reproduces the issue:
https://stackblitz.com/edit/angular-ngx-bootstrap-5913-traiei?file=src%2Fapp%2Fapp.component.ts

Open stackblitz. Scroll elements inside the container. Click on the dropdown and scroll again. Hover over "Live demo" popover.

Observe the result:

AR: Dropdown position is recalculated. In some case, new menu position is wrong and placed over the dropdown button
ER: Popover with adaptive position doesn't impact dropdown position

img

Versions of ngx-bootstrap, Angular, and Bootstrap:

ngx-bootstrap: 6.2.0 (also reproduced on 9.0.0)

Angular: 15

Bootstrap: 3.3.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions