From 1f614947e8a366f96e8d19662582c185bb0d423f Mon Sep 17 00:00:00 2001 From: Marco Ambrosini Date: Wed, 26 Aug 2020 09:47:40 +0200 Subject: [PATCH] Allow to choose boundariesElement for actions Signed-off-by: Marco Ambrosini --- src/components/Actions/Actions.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/Actions/Actions.vue b/src/components/Actions/Actions.vue index aa4eab58f3..841841aef0 100644 --- a/src/components/Actions/Actions.vue +++ b/src/components/Actions/Actions.vue @@ -117,7 +117,7 @@ https://www.w3.org/TR/wai-aria-practices/examples/menu-button/menu-button-action :handle-resize="true" :open.sync="opened" :placement="placement" - boundaries-element="body" + :boundaries-element="boundariesElement" container="body" @show="openMenu" @apply-show="onOpen" @@ -261,6 +261,14 @@ export default { type: String, default: 'bottom', }, + + /** + * DOM element for the actions' popover boundaries + */ + boundariesElement: { + type: String, + default: 'body', + }, }, data() {