diff --git a/.gitignore b/.gitignore
index e7dda6cb..bacbeeb6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
node_modules/
npm-debug.log
coverage/
+.idea/
dist/
diff --git a/README.md b/README.md
index c6497f7e..5b24cadb 100644
--- a/README.md
+++ b/README.md
@@ -251,7 +251,7 @@ Or a reactive property:
- `trigger` - Events triggering the tooltip separated with spaces: `'hover'`, `'click'`, `'focus'` or `'manual'` (`'manual'` can't be combined with any other event).
- `show` - Boolean to manually open or hide the tooltip.
- `offset` - Offset of the position (px).
-- `container` - Selector: Container where the tooltip will be appended (e.g. `'body'`). Set it to `false` to append popover on target parent node.
+- `container` - Selector: Container where the tooltip will be appended (e.g. `'body'`). Set it to `false` to append popover on target parent node. Provide a callback to resolve container dynamically, signature would be `callback(targetElement)`.
- `boundariesElement` - DOM element for the tooltip boundaries.
- `template` - HTML template of the tooltip.
- `arrowSelector` - CSS selector to get the arrow element in the tooltip template.
diff --git a/docs-src/PageHome.vue b/docs-src/PageHome.vue
index 42216e75..93db6162 100644
--- a/docs-src/PageHome.vue
+++ b/docs-src/PageHome.vue
@@ -305,6 +305,10 @@
+
+
@@ -314,6 +318,7 @@ import screenfull from 'screenfull'
import CodeSnippet from './CodeSnippet.vue'
import Collapse from './Collapse.vue'
import ExampleComponent from './ExampleComponent.vue'
+import TooltipShadowDOMContainer from './shadow/TooltipShadowDOMContainer'
const mainSnippet = `
import Vue from 'vue'
@@ -612,6 +617,7 @@ export default {
CodeSnippet,
Collapse,
ExampleComponent,
+ TooltipShadowDOMContainer
},
data () {
diff --git a/docs-src/shadow/TooltipShadowDOMContainer.vue b/docs-src/shadow/TooltipShadowDOMContainer.vue
new file mode 100644
index 00000000..67543f92
--- /dev/null
+++ b/docs-src/shadow/TooltipShadowDOMContainer.vue
@@ -0,0 +1,38 @@
+
+