Hey Bill, I I edited up the tooltip.js to fix most of those bugs with the tooltip / popover and sent a pull request in, but its still sitting there.. You can grab my tooltip.js file - https://github.com/Yohn/bootstrap/blob/2.2.2-wip/js/bootstrap-tooltip.js and replace boostraps 2.2.1 version with that one, and then you can use the new container option for telling the tooltip where to place it.. data-container="body" or $().tooltip({ container: 'body' })
the tooltip() can be popover() and you can put any element within the container option, for modals I've been using data-container=".modal-body" hope this helps ya out some.. John Brittain III Kannapolis, NC Programmer http://www.skem9.com On Mon, Nov 19, 2012 at 7:53 PM, Bill Lazar <[email protected]> wrote: > I feel a little unsettled posting this message but as I'm looking at what > changes to our code I need to make to update to the current TB stable I > haven't found any answers through looking at the source or previous list > messages. > > In > https://github.com/demike/bootstrap/commit/a35bf02d93bdfbe02bca364d3ddbc9e8ad0bf525 > tooltips and popovers are no longer appended to the body and instead > inserted after the triggering element. However this subjects the popovers and > tooltips to CSS scoped to the new DOM positioning--I'm surprised such a > breaking change was made without even an explanation in the release notes. > > Similarly a popover attached to a .btn in a .btn-group changes the > border-radius (to 0) of the .btn when I hover over it (triggering the > popover). > > Is there a simple way to do popovers so that my CSS doesn't leak into them, > as it was in v2.1.1 and before? > > Thanks, > Bill
