ngx boostrap popover does not move with the button when main page is scrolled with container="body"
Asked Answered
M

0

6

I am using an ngx boostrap popover as per this documentation

I need to use container="body" because without this, the main body styles are affecting my popover and it gets cut. But, after I add this property, I run into a new issue. When I click on the button, the popover is displayed appended to the button, which is good. However, when I scroll the main page, the popover doesn't move with the button associated with it and hence comes into a detached state which then looks weird. How do I solve this issue?

Mediocre answered 7/10, 2017 at 4:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.