Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Popover in a modal (scroll issue) #5991

Closed
scanferla opened this Issue · 3 comments

4 participants

@scanferla

Steps to reproduce this issue:

  1. Go to: http://twitter.github.com/bootstrap/javascript.html#modals
  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: http://twitter.github.com/bootstrap/javascript.html#popovers (Click to toggle popover + scroll the page)

Hope it helps :)

@scanferla

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.

@blakeembrey

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
@sompylasar

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.