From 8104bd7a0274149f0c23774e2221363c9ff9f62b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 11 Sep 2016 22:30:37 -0700 Subject: [PATCH] v4: Update tooltip placement docs (#20696) * Fixes #19796: Remove mention of tooltip auto placement * add note to migration docs --- docs/components/tooltips.md | 2 +- docs/migration.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/components/tooltips.md b/docs/components/tooltips.md index a102aa9257..e989307caa 100644 --- a/docs/components/tooltips.md +++ b/docs/components/tooltips.md @@ -186,7 +186,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap string | function 'top' -

How to position the tooltip - top | bottom | left | right | auto.
When "auto" is specified, it will dynamically reorient the tooltip. For example, if placement is "auto left", the tooltip will display to the left when possible, otherwise it will display right.

+

How to position the tooltip - top | bottom | left | right.

When a function is used to determine the placement, it is called with the tooltip DOM node as its first argument and the triggering element DOM node as its second. The this context is set to the tooltip instance.

diff --git a/docs/migration.md b/docs/migration.md index 1fd28016a3..67b9b4a693 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -174,6 +174,10 @@ Dropped entirely for the new card component. - `.panel-warning` to `.card-warning` and `.card-inverse` (or use `.bg-warning` on `.card-header`) - `.panel-danger` to `.card-danger` and `.card-inverse` (or use `.bg-danger` on `.card-header`) +### Tooltips + +- Removed support for `auto` placement options. + ### Carousel - Renamed `.item` to `.carousel-item`.