From aa68ca3580369de035742768c64498686a6600ff Mon Sep 17 00:00:00 2001 From: Peter Blazejewicz Date: Tue, 9 May 2017 10:51:44 +0200 Subject: tooltips/popover must be hidden before their corresponding element is removed from the DOM --- docs/components/popovers.md | 1 + docs/components/tooltips.md | 1 + 2 files changed, 2 insertions(+) (limited to 'docs/components') diff --git a/docs/components/popovers.md b/docs/components/popovers.md index 307b4cb6d..82a45cd45 100644 --- a/docs/components/popovers.md +++ b/docs/components/popovers.md @@ -25,6 +25,7 @@ Things to know when using the popover plugin: - Triggering popovers on hidden elements will not work. - Popovers for `.disabled` or `disabled` elements must be triggered on a wrapper element. - When triggered from hyperlinks that span multiple lines, popovers will be centered. Use `white-space: nowrap;` on your ``s to avoid this behavior. +- Popovers must be hidden before their corresponding elements have been removed from the DOM. Got all that? Great, let's see how they work with some examples. diff --git a/docs/components/tooltips.md b/docs/components/tooltips.md index 55de9a886..393d94c05 100644 --- a/docs/components/tooltips.md +++ b/docs/components/tooltips.md @@ -23,6 +23,7 @@ Things to know when using the tooltip plugin: - Triggering tooltips on hidden elements will not work. - Tooltips for `.disabled` or `disabled` elements must be triggered on a wrapper element. - When triggered from hyperlinks that span multiple lines, tooltips will be centered. Use `white-space: nowrap;` on your ``s to avoid this behavior. +- Tooltips must be hidden before their corresponding elements have been removed from the DOM. Got all that? Great, let's see how they work with some examples. -- cgit v1.2.3 From d5fabf8de50710c5a09ecd91f4b9e961e67d7937 Mon Sep 17 00:00:00 2001 From: Johann-S Date: Tue, 18 Apr 2017 14:02:24 +0200 Subject: Remove totaly Tether from documentation + dependencies --- docs/components/dropdowns.md | 38 ++++++++++++++++++++++++++++++++++++-- docs/components/popovers.md | 14 ++++---------- docs/components/tooltips.md | 14 ++++---------- 3 files changed, 44 insertions(+), 22 deletions(-) (limited to 'docs/components') diff --git a/docs/components/dropdowns.md b/docs/components/dropdowns.md index 4da232b7d..938447f3d 100644 --- a/docs/components/dropdowns.md +++ b/docs/components/dropdowns.md @@ -12,6 +12,12 @@ Dropdowns are toggleable, contextual overlays for displaying lists of links and * Will be replaced with the ToC, excluding the "Contents" header {:toc} +## Overview + +Things to know when using the popover plugin: + +- Dropdown rely on the 3rd party library [Popper.js](https://popper.js.org) for positioning. You must include [popper.min.js](https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.8.1/popper.es5.min.js) before bootstrap.js in order for dropdowns to work! + ## Examples Wrap the dropdown's toggle (your button or link) and the dropdown menu within `.dropdown`, or another element that declares `position: relative;`. Dropdowns can be triggered from `` or `