Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
cvrebert edited this page Oct 13, 2014 · 1 revision

W008

Tooltips and popovers within button groups should have their container set to 'body'. Found tooltips/popovers that might lack this setting.

When using tooltips or popovers on elements within a .btn-group, you'll have to specify the option container: 'body' to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip or popover is triggered).

One way to ensure that this option is set is to add a data-container="body attribute to elements within a .btn-group that have either a data-toggle="tooltip" or data-toggle="popover" attribute.

Clone this wiki locally