0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00

Update tooltips.md

This commit is contained in:
XhmikosR 2018-07-10 23:26:30 +03:00 committed by GitHub
parent 591725e838
commit e9ec13e974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,9 +88,10 @@ $('#example').tooltip(options)
{% capture callout %}
##### Usage with overflow `auto` and `scroll`
When the parent container has CSS property `overflow` set to values `auto|scroll` (for example when used within `.table-responsive`) the tooltip has weird flickering behaviour.
The solution is to set `boundary` option to anything other than default value `'scrollParent'`. Eg. set it to `'window'`
When the parent container has the CSS property `overflow` set to values `auto` or `scroll` (for example when used within `.table-responsive`) the tooltip has weird flickering behaviour.
The solution is to set the `boundary` option to anything other than default value `'scrollParent'`. For example, set it to `'window'`:
{% highlight js %}
$('#example').tooltip({ boundary: 'window' })