diff options
| author | Mark Otto <[email protected]> | 2018-07-15 22:27:36 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-07-15 22:27:36 -0700 |
| commit | a4b2e39178c51695915197191eeeefe579be0720 (patch) | |
| tree | e2f9b984ea945fc0a5792264e8ae2aaa0b8fb18d | |
| parent | da56d918ac74c26e3dfe30f6f4052cbff0b18fb3 (diff) | |
| download | bootstrap-a4b2e39178c51695915197191eeeefe579be0720.tar.xz bootstrap-a4b2e39178c51695915197191eeeefe579be0720.zip | |
More wordsmithing
| -rw-r--r-- | docs/4.1/components/tooltips.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/4.1/components/tooltips.md b/docs/4.1/components/tooltips.md index d58dc8171..05e63f3cf 100644 --- a/docs/4.1/components/tooltips.md +++ b/docs/4.1/components/tooltips.md @@ -87,11 +87,9 @@ $('#example').tooltip(options) {% endhighlight %} {% capture callout %} -##### Usage with overflow `auto` and `scroll` +##### Overflow `auto` and `scroll` -When the parent container has the CSS property `overflow` set to values `auto` or `scroll` (for example when used within `.table-responsive`) the tooltip's placement changes to `bottom` but still keeps original placement's positioning. - -The solution is to set the `boundary` option to anything other than default value `'scrollParent'`. For example, set it to `'window'`: +Tooltip position attempts to automatically change when a parent container has `overflow: auto` or `overflow: scroll` like our `.table-responsive`, but still keeps the original placement's positioning. To resolve, set the `boundary` option to anything other than default value, `'scrollParent'`, such as `'window'`: {% highlight js %} $('#example').tooltip({ boundary: 'window' }) |
