Skip to content

Commit

Permalink
repeat #10081 caveat for popovers too
Browse files Browse the repository at this point in the history
  • Loading branch information
cvrebert committed Aug 23, 2013
1 parent 3d72942 commit 0f669b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions javascript.html
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,10 @@ <h4>Plugin dependency</h4>
<h4>Popovers in button groups and input groups require special setting</h4>
<p>When using popovers on elements within a <code>.btn-group</code> or an <code>.input-group</code>, you'll have to specify the option <code>container: 'body'</code> (documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the popover is triggered).</p>
</div>
<div class="bs-callout bs-callout-info">
<h4>Popovers on disabled elements require wrapper elements</h4>
<p>To add a popover to a <code>disabled</code> or <code>.disabled</code> element, put the element inside of a <code>&lt;div&gt;</code> or <code>&lt;span&gt;</code>, and apply the popover to that element instead.</p>
</div>

<h3>Static popover</h3>
<p>Four options are available: top, right, bottom, and left aligned.</p>
Expand Down

0 comments on commit 0f669b6

Please sign in to comment.