]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
v4: Update tooltip placement docs (#20696)
authorMark Otto <markd.otto@gmail.com>
Mon, 12 Sep 2016 05:30:37 +0000 (22:30 -0700)
committerGitHub <noreply@github.com>
Mon, 12 Sep 2016 05:30:37 +0000 (22:30 -0700)
* Fixes #19796: Remove mention of tooltip auto placement

* add note to migration docs

docs/components/tooltips.md
docs/migration.md

index a102aa92575a3779d2bf10f1c33c1089c097f4dd..e989307caa31272f1220b0633df0817bf76e9c32 100644 (file)
@@ -186,7 +186,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
         <td>string | function</td>
         <td>'top'</td>
         <td>
-          <p>How to position the tooltip - top | bottom | left | right | auto.<br>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.</p>
+          <p>How to position the tooltip - top | bottom | left | right.</p>
           <p>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 <code>this</code> context is set to the tooltip instance.</p>
         </td>
       </tr>
index 1fd28016a3785fe8708ebc97f9d85721e70be041..67b9b4a693b7165fa65c098bd161725a409074e9 100644 (file)
@@ -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`.