-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Popover position not updated after scrolling (tested 2.1.0) #4605
Comments
No fiddle is required, the bug reproduces on the main bootstrap page! Have a look. |
this is a tricky one, because modal is fixed positioning and tooltip is absolute. We could provide an option for fixed position i suppose tho - @mdo, what do you think? |
Hey @sompylasar, Thanks for opening this issue! Unfortunately, it looks like it fails to pass the criteria neccessary for submitting to bootstrap. The following things are currently failing:
For a full list of issue filing guidelines, please refer to the bootstrap issue filing guidelines. thanks! |
Hey @malandrew, please leave the triaging of issues to @fat and I for now :). Appreciate the help, but it makes you look like someone who maintains the project and that isn't the case, thus signing you up for extra work. Thanks! As far as positioning of these, @fat, I think it'd be awesome if we could maintain their positions relative to the elements that triggered them. |
@markdotto Yeah, I made a big mistake and it wasn't intentional. I was playing around with the makefile and didn't realize that running make haunt was going to have consequences beyond the project locally on my machine. I did an Somehow I totally missed the |
@fat and @markdotto: as of 2.1.2-wip where the tooltips and popovers are insterted after the target element this is an easy one. Just make the modal-body position:relative ! |
Sorry, that triggers a new Problem: the popovers get cut off :( |
Is there any update on this issue ? It would be very cool to have the popover following the element that triggered it. |
There is a solution. Just tried it. But you need an extra div with position:relative that wraps all your modal body content
|
sorry, the same cut off again when the modal width is too small :( |
Thanks for the help @demike but if the popover gets cut off it's not a solution I can use... |
@Tibo-R heres my pull request #5768 basically, you'll want to swap out your tooltip.js with my bootstrap-tooltip.js and then to get it working how you want it, you can use the
.modal-body can be any element as long as its on the page |
Thanks I will try this out ! |
That does not solve the problem: the problem is that the combination of y overflow -> scroll and x overflow visible is
for the modal-body The scrollbar is the problem |
This has been resolved in 2.2.2-wip. |
How can I make the Popover to build next to the selector element and not before closing the BODY ?! I tried selector, placement inside and all options with no luck. Any help? |
The popover remains at the same position relative to the page and does not respect the position of the element it was initialized on. Below are two screenshots of the issue reproduced at http://twitter.github.com/bootstrap/javascript.html#modals (message me please if the links become broken).
The text was updated successfully, but these errors were encountered: