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/tooltips.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/components/tooltips.md') 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/tooltips.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'docs/components/tooltips.md') diff --git a/docs/components/tooltips.md b/docs/components/tooltips.md index 393d94c05..e8a7ce96f 100644 --- a/docs/components/tooltips.md +++ b/docs/components/tooltips.md @@ -16,7 +16,7 @@ Inspired by the excellent Tipsy jQuery plugin written by Jason Frame. Tooltips a Things to know when using the tooltip plugin: -- Tooltips rely on the 3rd party library [Tether](http://tether.io/) for positioning. You must include [tether.min.js](https://github.com/HubSpot/tether/blob/master/dist/js/tether.min.js) before bootstrap.js in order for tooltips to work! +- Tooltips 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 tooltips to work! - Tooltips are opt-in for performance reasons, so **you must initialize them yourself**. - Tooltips with zero-length titles are never displayed. - Specify `container: 'body'` to avoid rendering problems in more complex components (like our input groups, button groups, etc). @@ -232,17 +232,11 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap 'hover focus' How tooltip is triggered - click | hover | focus | manual. You may pass multiple triggers; separate them with a space. `manual` cannot be combined with any other trigger. - - constraints - Array - [] - An array of constraints - passed through to Tether. For more information refer to Tether's constraint docs. - offset - string - '0 0' - Offset of the tooltip relative to its target. For more information refer to Tether's offset docs. + number | string + 0 + Offset of the tooltip relative to its target. For more information refer to Popper.js's offset docs. -- cgit v1.2.3 From fc8b85b62670b8396cac7fb821c025c58fa77a78 Mon Sep 17 00:00:00 2001 From: Johann-S Date: Wed, 19 Apr 2017 10:59:10 +0200 Subject: Fix some css for the arrow of Popover/Tooltip + update documentation --- docs/components/tooltips.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/components/tooltips.md') diff --git a/docs/components/tooltips.md b/docs/components/tooltips.md index e8a7ce96f..54f3c448f 100644 --- a/docs/components/tooltips.md +++ b/docs/components/tooltips.md @@ -136,7 +136,7 @@ You should only add tooltips to HTML elements that are traditionally keyboard-fo