Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Popover in a modal (scroll issue) #5991

scanferla opened this Issue · 3 comments

4 participants


Steps to reproduce this issue:

  1. Go to:
  2. Click: Launch demo modal
  3. Click: button at the Popover in a modal section.
  4. Scroll the modal's content

What happens:
Popover gets stuck, doesn't "follow" the button

What should happen:
The same behavior found here: (Click to toggle popover + scroll the page)

Hope it helps :)


I've just found another issue that may be related: if you mouse over the Popover and try to scroll, it will scroll the page containing the modal, not the modal itself.


It's to do with the closest containing element (E.g. with relative positioning, etc). Easiest fix would be to add position: relative to the .modal-body. This will fix both the issues you pointed out as well.

@mdo mdo closed this in fbec803

This one seems a duplicate of #4605, just for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.